IEEE-488 Reference
4-199
Programming example 10 OUTPUT 716; “:syst:frsw?”
20 ENTER 716; A$
30 PRINT A$
40 END
Line 10 Reads the inputs switch position.
Line 20 Addresses the Model 2001 to talk.
Line 30 Displays the position of the switch (0 or 1).
4.22.4 :VERSion?
:SYSTem:VERSion? Read SCPI version
Format :syst:vers?
Description This query command is used to read the version of the SCPI standard being used by the Model
2001. After sending this command and addressing the Model 2001 to talk, the version code will
be sent to the computer. Example code:
1991.0
The above response message indicates the version of the SCPI standard.
Programming example 10 OUTPUT 716; “:syst:vers?”
20 ENTER 716; A$
30 PRINT A$
40 END
Line 10 Reads the version of the SCPI standard.
Line 20 Addresses the Model 2001 to talk.
Line 30 Displays the SCPI standard version.
4.22.5 :ERRor?
:SYSTem:ERRor? Read Error Queue
Format :syst:err?
Defaults Power-up Clears Error Queue
*RST No effect
*CLS Clears Error Queue
DCL, SDC No effect
:SYSTem:PRESet No effect
:STATus:PRESet No effect
Description As error and status messages occur, they are placed into the Error Queue. This query command
is used to read those messages. The Error Queue is a first-in, first-out (FIFO) register that can
hold up to 10 messages. Every time you read the queue, the “oldest” message is read and that
message is then removed from the queue.