User Manual

Series 2200 Programmable DC Power Supplies Reference Manual Appendix C: Status model
2200S-901-01 Rev. A/November 2011 C-9
Error/event queue
The Event Queue stores detailed information on up to 32 events. When 32 events stack up in the
Event Queue, the 32nd event is replaced by event code 350, "Queue Overflow."
Read the Event Queue with the EVENT? query (which returns only the event number), with the
EVMSG? query (which returns the event number and a text description of the event), or with the
ALLEV? query (which returns all the event numbers with a description of the event). Reading an
event removes it from the queue.
Before reading an event from the Event Queue, you must use the *ESR? query to read the summary
of the event from the SESR. This makes the events summarized by the *ESR? read available to the
EVENT? and EVMSG? queries, and empties the SESR.
Reading the SESR erases any events that were summarized by previous *ESR? reads but not read
from the Event Queue. Events that follow an *ESR? read are put in the Event Queue but are not
available until *ESR? is used again.
Messages and codes
Error and event codes with negative values are SCPI standard codes. Error and event codes with
positive values are unique to the Series 2200.
No event messages
Code
Message
0
No events to report; queue empty
1
No events to report; new events pending *ESR?