User Manual

2400 Series SourceMeter
®
User’s Manual SCPI Command Reference 18-109
Error queue
NOTE See Section 15 for details on the error queue.
[:NEXT]?
:SYSTem:ERRor[:NEXT]? Read oldest error (code and message)
Description As error and status messages occur, they are placed in the Error
Queue. The Error Queue is a first-in, first-out (FIFO) register that can
hold up to 10 messages. After sending this command and address
-
ing the SourceMeter to talk, the oldest message is sent to the com-
puter and is then removed from the queue.
NOTE The :STATus:Queue? command performs the same function as
:SYSTem:ERRor[:NEXT]?. (See “STATus subsystem,” page 18-101.)
ALL?
:SYSTem:ERRor:ALL? Read all errors (codes and messages)
Description This query command is similar to the [:NEXT]? command except that
all messages in the Error Queue are sent to the computer when the
SourceMeter is addressed to talk. All messages are removed from
the queue.
COUNt?
:SYSTem:ERRor:COUNt? Return the number of errors
Description After sending this command and addressing the SourceMeter to talk,
a decimal number will be sent to the computer. That is the number of
messages in the Error Queue.
CODE[:NEXT]?
:SYSTem:ERRor:CODE[:NEXT]? Read oldest error (code only)
Description This command is identical to the [:NEXT]? command, except only the
code is returned. The message itself is not returned. The error is
cleared from the queue.
CODE:ALL?
SYSTem:ERRor:CODE:ALL? Read all errors (codes only)
Description This query command is identical to the :ALL? command, except only
the codes are returned. The actual messages are not returned. All
errors are cleared from the queue.
CLEar
:SYSTem:CLEar Clear Error Queue
Description This action command is used to clear the Error Queue of messages.