Technical data
402 Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
23 Mask Test Commands
:MTESt:AMASk:XDELta
Command :MTESt:AMASk:XDELta <xdelta_value>
The :MTESt:AMASk:XDELta command sets the tolerance in the X direction
around the waveform for the automasking feature. The absolute value of
the tolerance will be added and subtracted to horizontal values of the
waveform to determine the boundaries of the mask.
<xdelta_value> A value for the horizontal tolerance. This value is interpreted based on the
setting specified by the AMASk:UNITs command; thus, if you specify
250- E3, the setting for AMASk:UNITs is CURRent, and the current setting
specifies time in the horizontal direction, the tolerance will be \xb1 250
ms. If the setting for AMASk:UNITs is DIVisions, the same xdelta_value
will set the tolerance to \xb1 250 millidivisions, or 1/4 of a division.
Example This example sets the units to divisions and sets the
ΔX tolerance to
one- eighth of a division.
myScope.WriteString ":MTEST:AMASK:UNITS DIVISIONS"
myScope.WriteString ":MTEST:AMASK:XDELTA 125E-3"
Query :MTESt:AMASk:XDELta?
The AMASk:XDELta? query returns the current setting of the ΔX tolerance
for automasking. If your computer program will interpret this value, it
should also request the current measurement system using the
AMASk:UNITs query.
Returned Format
[:MTESt:AMASk:XDELta] <xdelta_value><NL>
Example This example gets the measurement system units and ΔX settings for
automasking from the oscilloscope and prints the results on the computer
screen.
Dim strAutomask_units As String
Dim strAutomask_xdelta As String
myScope.WriteString ":MTEST:AMASK:UNITS?"
strAutomask_units = myScope.ReadString
myScope.WriteString ":MTEST:AMASK:XDELTA?"
strAutomask_xdelta = myScope.ReadString
Debug.Print strAutomask_units
Debug.Print strAutomask_xdelta