
Turning on the output
Use OUTP ON and OUTP OFF to turn the output on and off respectively.
Requesting readings
To trigger and request a reading, first send the :READ? query, then address the instrument to talk
in the usual manner. The type of readings sent will depend on the selected reading mode.
Basic control program
Use the program below to send commands to the unit. To request a reading, type in “:READ?” at
the command prompt, or type in “Q” to exit the program. See Appendix C for information on com-
puter hardware and software requirements.
Program D-1
Basic control programming
' Program to send basic commands to 2303. Primary address =16.
OPEN "IEEE" FOR OUTPUT AS #1 ' Open IEEE-488 output path.
OPEN "IEEE" FOR INPUT AS #2 ' Open IEEE-488 input path.
PRINT #1, "INTERM CRLF" ' Set input terminator.
PRINT #1, "OUTTERM LF" ' Set output terminator.
PRINT #1, "REMOTE 16" ' Put 2303 in remote.
CLS
Start: PRINT "Command: "; ' Print command prompt.
LINE INPUT Cmd$ ' Input command string.
IF Cmd$ = "Q" THEN GOTO Quit ' Check for Q to quit.
PRINT #1, "OUTPUT 16;"; Cmd$ ' Send command to unit.
IF Cmd$ = ":READ?" THEN ' Check for :READ? query.
PRINT #1, "ENTER 16" ' Address to talk.
LINE INPUT #2, Reading$ ' Input reading string.
PRINT Reading$
END IF
GOTO Start
Quit: PRINT #1, "LOCAL 16" ' Got to local.
CLOSE
END
深圳德标仪器
135-1095-0799
Summary of Contents for 2303
Page 12: ...1 Performance Verification 135 1095 0799...
Page 26: ...2 Calibration 135 1095 0799...
Page 48: ...3 Disassembly 135 1095 0799...
Page 53: ...3 6 Disassembly 135 1095 0799...
Page 76: ...A Specifications 135 1095 0799...
Page 81: ...A 7 Specifications 135 1095 0799...
Page 82: ...B CalibrationReference 135 1095 0799...
Page 90: ...C CalibrationPrograms 135 1095 0799...