Status and Events
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 u sed again.
Event Hand
ling Sequence
The figure below shows h ow to use the status and event handling system. In the
explanation that follows, numbers in parentheses refer to numbers in the figure.
When an event occurs, a signal is sent to the DESER (1). If that type of event
is enabled in the DESER (that is, if the bit for that event type is set to 1), the
appropriate bit in the SESR is set to one, and the event is recorded in the Event
DSA/CSA/TDS8X00/B Series Programmer Manual 3-5