B-2
Status and Error Messages
Introduction
This Appendix contains a summary of status and error messages, which status register bits
are set when messages occur, and methods to avoid or eliminate most common SCPI errors.
Status and error messages
Table B-1 summarizes status and error messages, which are stored in the Error Queue. Each
message is preceded by a code number. Negative (-) numbers are used for SCPI-defined
messages, and positive (+) numbers are used for Keithley-defined messages. Note that error
and status conditions will also set specific bits in various status registers, as summarized in
Table B-1.
Section 14 has detailed information on registers and queues. Briefly, you can use the follow-
ing queries to obtain error and status information:
•
•
•
•
•
NOTE
:SYST:ERR? — reads Error Queue.
*ESR? — reads Standard Event Status Register.
:STAT:OPER? — reads Operation Event Register.
:STAT:MEAS? — reads Measurement Event Register.
:STAT:QUES? — reads Questionable Event Register.
SCPI-confirmed messages are described in volume 2: Command Reference of the
Standard Commands for Programmable Instruments. Refer to the :SYSTem:ERRor?
command.