Technical data

Root Level Commands 25
Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference 657
:MTEE
(Mask Test Enable Register)
Command
:MTEE <enable_mask>
The :MTEE command is used to set bits in the Mask Test Enable Register.
This register enables the following bits of the Mask Test Event Register:
<enable_mask> Bit 0 - Mask Test Complete
Bit 1 - Mask Test Fail
Bit 2 - Mask Low Amplitude
Bit 3 - Mask High Amplitude
Bit 4 - Mask Align Complete
Bit 5 - Mask Align Fail
Bit 6- 7 are not used and are set to zero (0).
Query
:MTEE?
The :MTEE? query returns the value stored in the Mask Test Enable
Register.
Returned Format
[:MTEE] <enable_mask>
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 2"
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.