Tektronix TLS 216 Hunting Equipment User Manual


 
TLS 216 Programmer Manual
3–1
Status and Events
The TLS 216 Logic Scope provides a status and event reporting system for the
General Purpose Interface Bus (GPIB). This system informs you of certain
significant events that occur within the logic scope.
The logic scope status handling system consists of five 8-bit registers and two
queues. This section describes these registers and components. It also explains
how the event handling system operates and the program requests information
from the logic scope.
Registers
The registers in the event handling system fall into two functional groups:
H Status Registers contain information about the status of the logic scope.
They include the Standard Event Status Register (SESR) and the Status Byte
Register (SBR).
H 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).
The Standard Event Status Register (SESR) and the Status Byte Register (SBR)
record certain types of events that may occur while the logic scope 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 service request. When an event of a given type occurs, the
logic scope sets the bit representing that type of event to a value of one. (You can
disable bits so they ignore events and remain at zero. See the Enable Registers
section on page 3–3.) Reading the status registers tells you what types of events
have occurred.
The Standard Event Status Register (SESR) shown in Figure 3–1, records eight
types of events that can occur within the logic scope. Use the *ESR? query to
read the SESR register. Reading the register clears the bits of the register so the
register can accumulate information about new events.
Status Registers