Models 2510 and 2510-AT User’s Manual
Status Structure
7-21
Programming example — read error queue
The following command reads the error queue:
STAT:QUE?
Table 7-9
Error queue commands
Command
Description
Default
STATus
STATus Subsystem:
:QUEue
Read Error Queue:
(Note 1)
[:NEXT]?
Read and clear oldest error/status (code and message).
:ENABle <list>
Specify error and status messages for Error Queue.
(Note 2)
:ENABle?
Read the enabled messages.
:DISable <list>
Specify messages not to be placed in queue.
(Note 2)
:DISable?
Read the disabled messages.
:CLEar
Clear messages from Error Queue.
SYSTem
SYSTem Subsystem:
:ERRor
Read Error Queue:
(Note 1)
[:NEXT]?
Read and clear oldest error/status (code and message).
:ALL?
Read and clear all errors/status (code and message).
:COUNt?
Read the number of messages in queue.
:CODE
Code numbers only:
[:NEXT]?
Read and clear oldest error/status (code only).
:ALL?
Read and clear all errors/status (codes only).
:CLEar
Clear messages from Error Queue.
Notes:
1. Power-up and *CLS empties the Error Queue. STATus:PRESet has no effect.
2. Power-up enables error messages and disables status messages. *CLS and STATus:PRESet have no effect.
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...