Additional SCPI Commands 15-19
:VERSion? command
:VERSion?
:SYSTem:VERSion? Read SCPI version
Description
This query command is used to read the version of the SCPI standard being used by the
Model 2182. Example code:
1991.0
The above response message indicates the version of the SCPI standard.
:ERRor? command
:ERRor?
:SYSTem:ERRor? Read Error Queue
Description
As error and status messages occur, they are placed in 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 ten messages. Each 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 “350, Queue Overflow” message occupies the last memory
location in the register. On power-up, the queue is empty. When the Error Queue is empty, the
“0, No error” message 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.
Appendix B lists the messages.
NOTE The :SYSTem:ERRor? query command performs the same function as the
:STATus:QUEue? query command (see STATus subsystem).
:CLEar command
:CLEar
:SYSTem:CLEar Clear Error Queue
Description
This action command is used to clear the Error Queue of messages.