Tektronix DPO4000 Landscape Lighting User Manual


 
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 o
f certain signicant events that occur within the oscilloscope.
The oscilloscope status handling system c onsists of ve 8-bit reg isters and two
queues for e
ach 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 R
egisters 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 denes 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 o f a given type occurs, the oscilloscope
sets the bit that represents that type of event to a value o f one. (You can disable
bits so that they ignore events and remain at zero. See Enable Registers). Reading
th
e 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. TekVI SA applications use SESR bit 6 to respond to any of se veral events,
including some front panel actions.
Figure 3-1: The Standard Event Status Register (SESR)
MSO4000 and DPO4000 Series Programmer Manual 3-1