Technical data
110 Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
6 Status Reporting
Mask Test Event Enable Register
For any of the Mask Test Event Register bits to generate a summary bit,
you must first enable the bit. Use the MTEE (Mask Test Event Enable)
command to set the corresponding bit in the Mask Test Event Enable
Register. Set bits are read with the MTEE? query.
Example Suppose your application requires an interrupt whenever a Mask Test Fail
occurs in the mask test register. You can enable this bit to generate the
summary bit by sending:
myScope.WriteString ":MTEE " + CStr(CInt("&H2"))
Whenever an error occurs, the oscilloscope sets the MASK bit in the
Operation Status Register. Because the bits in the Operation Status Enable
Register are all enabled, a summary bit is generated to set bit 7 (OPER) in
the Status Byte 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 Mask Test Event Register Bits Respond, but Do Not Generate a Summary
Bit
Mask Test Event 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 Operation Status Register.