User Manual

B-2 Status and Error Messages 2400 Series SourceMeter
®
User’s Manual
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
Tab l e 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 15 has detailed information on registers and queues. Briefly, you can use
the following queries to obtain error and status information:
: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.
NOTE SCPI confirmed messages are described in volume 2: Command Refer-
ence of the Standard Commands for Programmable Instruments. Refer
to the :SYSTem:ERRor? command.