6-5
IM 701730-17E
Status Report
6
6.4 Extended Event Register/6.5 Output Queue and Error Queue
The filter is applied to each bit of the condition register seperately, and can be selected from the following.
Note that the numbering of the bits used in the filter setting differs from the actual bit number (1 to 16 vs. 0 to
15).
Rise
The bit of the extended event register becomes
"1"
when the bit of the condition register changes from
"0"
to
"1."
Fall
The bit of the extended event register becomes
"1"
when the bit of the condition register changes from
"1"
to
"0."
Both
The bit of the extended event register becomes
"1"
when the bit of the condition register changes from
"0"
to
"1,"
or from
"1"
to
"0."
Never
The bit of the extended event register is disabled and always
"0."
6.5
Output Queue and Error Queue
Overview of the Output Queue
The output queue is provided to store response
messages to queries. For example, when the
:WAVeform:SEND?
query is sent to request output of
the acquired waveform, the response data will be
stored in the output queue until it is read out.
The example below shows that data is stored record
by record in the output queue, and is read out oldest
item first, newest item last. The output queue is
emptied in the following cases (in addition to when
read-out is performed).
• When a new message is received from the
controller
• When dead lock occurs (page 4-2)
• When a device clear command (DCL or SDC) is
received
• When power is turned ON again
The output queue cannot be emptied using the *CLS
command. To see whether the output queue is empty
or not, check bit 4 (MAV) of the status byte.
D1
D2
D1
D2
D1
Overview of the Error Queue
The error queue stores the error No. and message
when an error occurs. For example, if the controller
sends an incorrect program message, the number,
“113, “Undefined header”,” and the error message are
stored in the error queue, when the error is displayed.
The contents of the error queue can be read using the
:STATus:ERRor?
query. As with the output queue,
messages are read oldest first, newest last (refer to the
previous page).
If the error queue becomes full, the final message will
be replaced by message “350, “Queue overflow”.”
The error queue is emptied in the following cases (in
addition to when read-out is performed).
• When the
*CLS
command is received
• When power is turned ON again
To see whether the error queue is empty or not, check
bit 2 (EAV) of the status byte.