10-50
SCPI Command Reference
Models 2510 and 2510-AT User’s Manual
Error queue
NOTE
See
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 addressing the Model
2510 to talk, the oldest message is sent to the computer and is then
removed from the queue.
NOTE
The :STATus:Queue? command performs the same function as :SYS-
Tem:ERRor[:NEXT]?. See
“STATus subsystem,” page 10-46
: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
Model 2510 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 Model 2510 to talk, a
decimal number will be sent to the computer. That is the number of mes-
sages 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 :SYSTem:ERRor:ALL? com-
mand, except only the codes are returned. The actual messages are not
returned. All errors are cleared from the queue.
Summary of Contents for TEC SourceMeter 2510
Page 194: ...A Specifications...
Page 197: ...B StatusandErrorMessages...
Page 206: ...C IEEE 488BusOverview...
Page 221: ...D IEEE 488andSCPI ConformanceInformation...
Page 225: ...E ExamplePrograms...
Page 233: ...F GPIB488 1Protocol...