Tektronix OA 5000 TV Cables User Manual


 
OA 5000 Series User Manual 3 --- 35
Status and Events
The OA 5000 provides a status and event reporting system for the GPIB
interfaces. This system informs you of certain significant events that occur
within the OA 5000.
The OA 5000 status handling system consists of five 8-bit registers and two
queues. This section describes these registers and components and ex-
plains how the event handling system operates.
The registers in the event handling system fall into two functional groups:
H The Standard Event Status Register (SESR) and the Status Byte Regis-
ter (SBR) contain information about the status of the OA 5000. These
registers are therefore called the Status Registers.
H The Device Event Status Enable Register (DESER), the Event Status
Enable Register (ESER), and the Service Request Enable Register
(SRER) determine whether selected types of events are reported to the
Status Registers and the Event Queue. These three registers are called
the Enable Registers.
Status Registers
The Standard Event Status Register (SESR) and the Status Byte Register
(SBR) record certain types of events that may occur while the OA 5000 is in
use. These registers are defined by IEEE Std 488.2-1987. Refer also to
Figure 3-6 and Table 3-8.
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 bit that represents that type of event is set 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 3---37.) Reading the status registers tells you
what types of events have occurred.
The Standard Event Status Register (SESR) The SESR, shown in
Figure 3-6, records eight types of events that can occur within the OA 5000.
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.
PON URQ CME EXE DDE QYE RQC OPC
76543210
Figure 3-6: The Standard Event Status Register (SESR)
Registers