IEEE-488 Reference
3-138
:VERSion?
:SYSTem:VERSion? Read SCPI version
This query command is used to read the version of the SCPI standard being used by the Model
2002. Example code:
1991.0
The above response message indicates the version of the SCPI standard.
PRINT #1, "output 16; :syst:vers?" ' Query version of SCPI standard
PRINT #1, "enter 16" ' Get response message from 2002
:ERRor?
:SYSTem:ERRor? Read Error Queue
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.
If the queue becomes full, the message “350, ‘Queue Overflow’” occupies the last memory loca-
tion in the register. On power-up, the queue is empty. When the Error Queue is empty, the mes-
sage “0, ‘No error’” is placed in the Error Queue.
The messages in the queue are preceded by a number. Negative (-) numbers are used for SCPI
defined messages, and positive (+) numbers are used for Keithley defined messages. Table 2-4
lists the messages.
NOTE: The :SYSTem:ERRor? query command performs the same function as the :STA-
Tus:QUEue? query command (see STATus subsystem).
PRINT #1, "output 16; :syst:err?" ' Query Error Queue
PRINT #1, "enter 16" ' Get response message from 2002
:AZERo commands
:TYPE <name>
:SYSTem:AZERo:TYPE <name> Specify autozero type
<name> = NORMal Autozero every 200msec
SYNChronous Autozero for every reading
:TYPE? Query autozero type
The :AZERo commands are used to control the autozero phase of each measurement. Auto-zero
is explained in paragraph 2.12.7. The :AZERo:STATe command is used to enable or disable
autozero.
PRINT #1, "output 16; :syst:azer:type sync; type?" ' Select SYNC autozero
PRINT #1, "enter 16" ' Get response message from
2002
3.21.
Description
Program fragment
3.21.5
Description
Program fragment
3.21.6
Parameters
Query
Description
Program fragment