Queues - Sony 3026 Programmer's Manual

Realtime spectrum analyzer
Table of Contents

Advertisement

Status and Events

Queues

Output Queue
Event Queue
3 6
There are two types of queues in the status reporting system used in the realtime
spectrum analyzer: output queues and event queues.
The output queue is a FIFO queue and holds response messages to queries,
where they await retrieval. When there are messages in the queue, the SBR MAV
bit is set.
The output queue will be emptied each time a command or query is received, so
the controller must read the output queue before the next command or query is
issued. If this is not done, an error will occur and the output queue will be
emptied; however, the operation will proceed even if an error occurs.
The event queue is a FIFO queue and stores events as they occur in the instru-
ment. If more than 32 events occur, event 32 will be replaced with event code
–350 ("Queue Overflow"). The oldest error code and text are retrieved using one
of the following queries:
H :SYSTem:ERRor?
H :STATus:QUEue[:NEXT]?
3026 Programmer Manual

Advertisement

Table of Contents
loading

Table of Contents