SCPI Command Reference 5-63
:ERRor? command
:ERRor?
:SYSTem:ERRor? 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 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 location in the register On power-up, the 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. Appendix B lists the messages.
NOTE The :SYSTem:ERRor? query command performs the same
function as the :STATus:QUEue? query command (see STATus
subsystem).
:AZERo commands
:STATe <b>
:SYSTem:AZERo:STATe <b> Control autozero
Parameters <b> = 1 or ON Enable autozero
0 or OFF Disable autozero
Query :STATe? Query state of autozero
Description This command is used to disable or enable autozero. When enabled, accuracy
is optimized. When disabled, speed is increased at the expense of accuracy.
Important Note: Before you can enable or disable auto-zero, the Model 2016
must first be in the idle state. The Model 2016 can be placed in the idle state by
first disabling continuous initiation (:INITiate:CONTinuous OFF), and then
sending the :ABORt command. After sending the :STATe command, readings
can be restarted by sending :INITiate:CONTinuous ON or :INITiate.
Program PRINT #1, “output 16; :init:cont off; :abor”‘Place 2016 in idle
PRINT #1, “output 16; :syst:azer:stat off; stat?”‘Disable autozero
PRINT #1, “enter 16”‘Get response from 2016
LINE INPUT #2, a$ ‘Read response
PRINT a$ ‘Display response
PRINT #1, “output 16; :init:cont on”‘Take 2016 out of idle
NOTE When finished, be sure to re-enable autozero.