Sony Tektronix VX4792 User Manual page 184

Arbitrary waveform generator
Table of Contents

Advertisement

Queues
Output Queue
VX4792 User Manual
Service Request Enable Register (SRER). The SRER is shown in Figure 4–5. It
controls which bits in the SBR generate a Service Request and are summarized
by the Master Status Summary (MSS) bit.
Use the *SRE command to set the SRER. Use the *SRE? query to read it. The
RQS bit remains set to one until either the Status Byte Register is read with a
Serial Poll or the MSS bit changes back to a zero.
7
6
5
4
3
ESB MAV
Figure 4-5: The Service Request Enable Register (SRER)
The status and event reporting system contains two queues: the Output Queue
and the Event Queue.
The Output Queue is a FIFO (First In First Out) queue that holds response
messages until they are requested. When a message is put in the queue, the
MAV bit of the Status Byte Register (SBR) is set.
The Output Queue empties each time the waveform generator receives a new
command or query. Therefore, the controller must read the output queue before it
sends the next command or query command. Otherwise the controller will lose
responses to earlier queries. If a command or query command is given without
first reading the Output Queue, an error results (typically 410, see Table B–5 on
page B–5) and the Output Queue is emptied.
Status and Event Reporting
2
1
0
4-5

Advertisement

Table of Contents
loading

Table of Contents