SCPI Command Reference 5-59
:QUEue commands
[:NEXT]?
:STATus:QUEue[:NEXT]? Read Error Queue
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. Every time you read
the queue, the “oldest” message is read and that message is then removed
from the queue. The queue will hold up to 10 messages. If the queue be-
comes full, the message “350, ‘Queue Overflow” will occupy the last mem-
ory location in the register. On power-up, the Error Queue is empty. When
the Error Queue is empty, the message “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. The messages are listed in Appendix B.
After this command is sent and the Model 2000 is addressed to talk, the “old-
est” message in the queue is sent to the computer.
NOTE
The :STATus:QUEue[:NEXT]? query command performs the
same function as the :SYSTem:ERRor? query command (see Sys-
tem subsystem).
:CLEar
:STATus:QUEue:CLEar Clear Error Queue
Description
This action command is used to clear the Error Queue of messages.