Status and Events
The oscilloscope provides a status and event reporting system for the Ethernet,
GPIB (with the TEK-USB-488 Adapter), and USB interfaces. This system
informs you of certain significant events that occur within the oscilloscope.
The oscilloscope status handling system consists of five 8-bit registers and two
queues for each interface. The remaining Status subtopics describe these registers
and components. They also explain how the event handling system operates.
Registers
Overview The registers in the event handling system fall into two functional groups:
Status Registers contain information about the status of the oscilloscope.
They include the Standard Event Status Register (SESR).
Enable Registers determine whether selected types of 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).
Status Registers The Standard Event Status Register (SESR) and the Status Byte Register (SBR)
record certain types of events that may occur while the oscilloscope is in use.
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 message available. When an event of a given type occurs, the oscilloscope
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. SeeEnable Registers). Reading
the status registers tells you what types of events have occurred.
The Standard Event Status Register (SESR). The SESR records eight types of
events that can occur within the oscilloscope. Use the *ESR? 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.
NOTE. TekVISAapplications use SESR bit 6 to respondto any of several events,
including some front panel actions.
Figure 3-1: The Standard Event Status Register (SESR)
MSO4000 and DPO4000 Series Programmer Manual 3-1