VX4792 User Manual
4-1
Status and Event Reporting
This section describes how the VX4792 Arbitrary Waveform Generator reports
its status and internal events. The section describes the elements that comprise
the status and events reporting system and explains how status and events are
handled.
The status and event reporting system reports certain significant events that
occur within the waveform generator. The system consists of five registers plus
two queues. Four of the registers and one of the queues are compatible with
IEEE Std. 488.2–1987; the other register and queue are specific to Tektronix
products.
Registers
The registers fall into two functional groups: status registers and enable registers.
H Status registers store information about the status of the waveform generator.
They include the Standard Event Status Register (SESR) and the Status Byte
Register (SBR).
H Enable registers determine whether certain events are reported to the Status
Registers and the Event Queue. They include the Device Event Status Enable
Register (DESER), the Event Status Enable Register (ESER), and the
Service Request Enable Register (SRER).
The Standard Event Status Register (SESR) and the Status Byte Register (SBR)
record certain types of events that may occur while the waveform generator is in
use. The IEEE Std 488.2-1987 defines these registers.
Each bit in a Status Register records a particular type of event, such as an
execution error or service request. When an event of a given type occurs, the
waveform generator sets the bit that represents that type of event to a value of
one. (You can disable bits so that they ignore events and remain at zero. See the
Enable Registers section on page 4–4.) Reading the status registers tells you
what types of events have occurred.
Standard Event Status Register (SESR). The SESR is shown in Figure 4–1. It
records eight types of events that can occur within the waveform generator. Use
the query to read the SESR register. Reading the register clears the bits of
the register so that the register can accumulate information about new events.
Figure 4-1: The Standard Event Status Register (SESR)
Status Registers