Calibration
2-5
D. If the address is set correctly, press EXIT as neces-
sary to return to normal display.
E. To change the address, use the cursor and range keys
to set the address to the desired value, then press
ENTER. Press EXIT as necessary to return to nor-
mal display.
4. Make sure that the IEEE-488 bus driver software is
properly initialized.
5. Enter the QuickBASIC editor, and type in the example
program. After checking for errors, press <Shift> +
<F5> to run it.
6. Type in the desired calibration command from the pro-
cedure (see paragraph 2.8.3), then press <Enter>.
2.7
Calibration errors
The Model 2001 checks for errors when calibration con-
stants are calculated, minimizing the possibility that improp-
er calibration may occur due to operator error. The following
paragraphs summarize calibration error messages and dis-
cuss bus error reporting.
2.7.1 Front panel error message summary
Table 2-2 summarizes front panel calibration error messages
that may occur because of improper connections or proce-
dure.
NOTE
There are many more error messages that
could occur because of internal hardware
problems. Refer to Appendix C for a com-
plete listing of all Model 2001 calibration
error messages.
Table 2-2
Calibration error messages
Error ID
code
Error message
-222
+438
+439
+440
Parameter data out of range.
Date of calibration not set.
Next date of calibration not set.
Calibration process not completed.
NOTE: This table lists only those errors that could occur because of
some external problem such as improper connections or wrong proce-
dure. See Appendix C for a complete listing of all error messages.
Program 2-1
Example Program to Send Calibration Commands
OPEN “\DEV\IEEEOUT” FOR OUTPUT AS #1
‘ Open IEEE-488 output
path.
OPEN “\DEV\IEEEIN” FOR INPUT AS #2
‘
Open
IEEE-488
input
path.
IOCTL #1, “BREAK”
‘ Reset interface.
PRINT #1, “RESET”
‘ Warm start interface.
PRINT #1, “REMOTE 16”
‘ Put unit in remote.
PRINT #1, “TERM LF EOI”
‘ Set terminator.
PRINT #1, “OUTPUT 16;*RST;*ESE 1”
‘ Initialize 2001.
CLS ‘
Clear
CRT.
Cmd: LINE INPUT “COMMAND? ”; A$
IF RIGHT$(A$, 1) = “?” THEN GOTO Query
‘ Check for a query.
PRINT #1, “OUTPUT 16;*CLS”
‘ Clear status registers.
PRINT #1, “OUTPUT 16;”; A$; “;*OPC”
‘ Send command to unit.
Cal:
PRINT #1, “SPOLL 16”
‘ Check for completed cal.
INPUT #2, S
IF (S AND 32) = 0 THEN GOTO Cal:
GOTO Cmd
Query:
PRINT #1, “OUTPUT 16;”; A$
‘ Send query to unit.
PRINT #1, “ENTER 16”
‘ Address unit to talk.
LINE
INPUT
#2,
B$
‘ Input response from
unit.
PRINT B$