Technical data
108 Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
6 Status Reporting
Operation Status Enable Register
For any of the Operation Status Register bits to generate a summary bit,
you must first enable the bit. Use the OPEE (Operation Event Status
Enable) command to set the corresponding bit in the Operation Status
Enable Register. Set bits are read with the OPEE? query.
Example Suppose your application requires an interrupt whenever any event occurs
in the mask test register. The error status bit in the Operation Status
Register is bit 9. Therefore, you can enable this bit to generate the
summary bit by sending:
myScope.WriteString ":OPEE " + CStr(CInt("&H200"))
Whenever an error occurs, the oscilloscope sets this bit in the Mask Test
Event Register. Because this bit is enabled, a summary bit is generated to
set bit 9 (OPER) in the Operation Status Register.
If bit 7 (OPER) in the Status Byte Register is enabled (via the *SRE
command), a service request interrupt (SRQ) is sent to the external
computer.
NOTE
Disabled Operation Status Register Bits Respond, but Do Not Generate a
Summary Bit
Operation Status Register bits that are not enabled still respond to their corresponding
conditions (that is, they are set if the corresponding event occurs). However, because they
are not enabled, they do not generate a summary bit in the Status Byte Register.