Output And Error Queues - YOKOGAWA WT310EH User Manual

Digital power meter communication interface
Hide thumbs Also See for WT310EH:
Table of Contents

Advertisement

7.5

Output and Error Queues

Output Queue
The output queue stores query response messages. For example, if you send a :NUMeric[:
NORMal]:VALue? command, which requests for the transmission of measured data, the data is
stored in the output queue until it is read.
As shown below, data is stored in order and read from the oldest message first. The output queue is
cleared in the following cases.
• When a new message is received from the controller.
• When a deadlock occurs (see page 5-2).
• When a device clear command (DCL or SDC) is received.
• When this instrument is restarted.
The *CLS command does not clear the output queue. You can determine whether or not the output
queue is empty by checking bit 4 (MAV) in the status byte.
Error Queue
When an error occurs, the error queue stores the error number and message. For example, if the
instrument receives an incorrect program message from the controller, the error number (113) and
the error message ("Undefined header") are stored in the error queue when the instrument displays
the error message.
You can use the :STATus:ERRor? query to read the contents of the error queue. Like the output
queue, the messages in the error queue are read from the oldest one first.
If the error queue overflows, the last message is replaced with the following message: 350, "Queue
overflow."
The error queue is cleared in the following cases.
• When a *CLS command is received.
• When this instrument is restarted.
You can determine whether or not the error queue is empty by checking bit 2 (EAV) in the status
byte.
7-6
D2
D1
D1
D2
D1
IM WT310E-17EN

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Wt332eWt310eWt333e

Table of Contents