Output Queue And Error Queue - YOKOGAWA TA220 User Manual

Digital jitter meter
Table of Contents

Advertisement

10.3 Status Report
10.3.5
Output Queue and Error
Queue
Output Queue
The output queue stores the response message for a
query.
As shown in the example below, data are stored in
order and read from the oldest ones first. Other than
when it is read out, the output queue becomes empty
in the following cases.
• When a new message is received from the
controller
• When a deadlock occurs (see page 10-3)
• When a device clear (DCL or SDC) is received
• When the instrument is restarted
Also, the *CLS command cannot be used to empty the
output queue. You can check bit 4 (MAV) of the status
byte to determine whether the output queue is empty.
D1
Error Queue
The error queue stores the number and message of an
error when it occurs. For example, if the controller
sends an incorrect program message, the error
number "113" and the message "Undefined header"
are stored in the error queue when the error is
displayed.
The error queue can be read using the
STATus:ERRor? query. Like the output queue, the
oldest data in the error queue is read out first.
When the error queue overflows, the last message is
replaced by the message "350, Queue overflow."
Other than when it is read out, the error queue
becomes empty in the following cases.
• When the *CLS command is received
• When the instrument is restarted
You can check bit 2 (EAV) of the status byte to
determine whether the error queue is empty.
10-38
D2
D1
D2
D1
IM 704610-01E

Advertisement

Table of Contents
loading

Table of Contents