
Model 2520 User’s Manual
Status Structure
11-21
Programming example - read error queue
The following command reads the error queue:
STAT:QUE?
Table 11-9
Error queue commands
Command
Description
Default
STATus
:QUEue
[:NEXT]?
:ENABle <list>
:ENABle?
:DISable <list>
:DISable?
:CLEar
SYSTem
:ERRor
[:NEXT]?
:ALL?
:COUNt?
:CODE
[:NEXT]?
:ALL?
STATus Subsystem:
Read Error Queue:
Read and clear oldest error/status (code and message).
Specify error and status messages for Error Queue.
Read the enabled messages.
Specify messages not to be placed in queue.
Read the disabled messages.
Clear messages from Error Queue.
SYSTem Subsystem:
Read Error Queue:
Read and clear oldest error/status (code and message).
Read and clear all errors/status (code and message).
Read the number of messages in queue.
Code numbers only:
Read and clear oldest error/status (code only).
Read and clear all errors/status (codes only).
Note 1
Note 2
Note 2
Note 1
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.
Содержание 2520
Страница 250: ...A Specifications ...
Страница 254: ...B StatusandErrorMessages ...
Страница 262: ...C DataFlow ...
Страница 266: ...D IEEE 488BusOverview ...
Страница 281: ...E IEEE 488andSCPI ConformanceInformation ...
Страница 285: ...F MeasurementConsiderations ...
Страница 308: ...G GPIB488 1Protocol ...
Страница 312: ...H ExamplePrograms ...
Страница 317: ...I ContinuousPulseMode ...