
Status and Events
OA 5000 Series User Manual 3 --- 3 7
Table3-9: SBR BitFunctions
Bit Function
7 (MSB) Not used (always 0).
6RQS (Request Service ), obtained from a serialpoll. Shows
that the OA 5000 requests service from the GPIBcontroller.
6MSS (Master Status Summary), obtained from *STB? query.
Summarizes the ESB and MAV bits inthe SBR.
5ESB (Event Status Bit). Shows that status is enabled and
present in the SESR.
4MAV(Message Available). Shows that output is available in
the Output Queue.
3--- 0 Not used (always 0).
Enable RegistersThe DESER, ESER, and SRER allow you to select which events are reported
to the Status Registers and the Event Queue. Each Enable Registeracts as
a filter to a Status Register(the D ESER alsoacts as a filter to the Event
Queue), and can prevent informationfrom being recorded in the register or
queue.
Each bit in an Enable Registercorresponds to a bit in the Status Register it
controls. In order foran event to be reported to its bit in the Status Register,
the corresponding bitin the Enable Register must be set to one. If the bit in
the Enable Register is set tozero, the event is not recorded.
The bits in the Enable Registersare set using various commands. The
Enable Registers and the commands used toset them are described below.
The Device Event Status Enable Register (DESER) —is shown in
Figure 3-8. This register controlswhich types of events are reported to the
SESR and the Event Queue. The bits in the DESER correspond tothose in
the SESR, as described earlier.
Use the DESE command to enable and disablethe bits in the DESER. Use
the DESE? query to read the DESER.
PON URQ CME EXE DDE QYE RQC OPC
76543210
Figure 3-8: TheDevice Event Status Enable Register (DESER)