Technical data

Mask Test Commands 23
Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference 401
:MTESt:AMASk:UNITs
Command :MTESt:AMASk:UNITs {CURRent | DIVisions}
The :MTESt:AMASk:UNITs command alters the way the mask test
subsystem interprets the tolerance parameters for automasking as defined
by AMASk:XDELta and AMASk:YDELta commands.
CURRent When set to CURRent, the mask test subsystem uses the units as set by
the :CHANnel:UNITs command, usually time for
ΔX and voltage for ΔY.
DIVisions When set to DIVisions, the mask test subsystem uses the graticule as the
measurement system, so tolerance settings are specified as parts of a
screen division. The mask test subsystem maintains separate XDELta and
YDELta settings for CURRent and DIVisions. Thus, XDELta and YDELta
are not converted to new values when the UNITs setting is changed.
Example This example sets the measurement units for automasking to the current
:CHANnel:UNITs setting.
myScope.WriteString ":MTEST:AMASK:UNITS CURRENT"
Query :MTESt:AMASk:UNITs?
The AMASk:UNITs query returns the current measurement units setting for
the mask test automask feature.
Returned Format
[:MTESt:AMASk:UNITs] {CURRent | DIVision}<NL>
Example This example gets the automask units setting, then prints the setting on
the screen of the computer.
Dim strAutomask_units As String
myScope.WriteString ":MTEST:AMASK:UNITS?"
strAutomask_units = myScope.ReadString
Debug.Print strAutomask_units