Technical data

Table Of Contents
448 Agilent Infiniium 9000 Series Oscilloscopes Programmer's Reference
24 Mask Test Commands
:MTESt:AMASk:YDELta
Command :MTESt:AMASk:YDELta <ydelta_value>
The :MTESt:AMASk:YDELta command sets the vertical tolerance around
the waveform for the automasking feature. The absolute value of the
tolerance will be added and subtracted to vertical values of the waveform
to determine the boundaries of the mask.
This command requires that mask testing be enabled, otherwise a settings
conflict error message is displayed. See :MTESt:ENABle for information on
enabling mask testing.
<ydelta_value> A value for the vertical 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 voltage in the vertical direction, the tolerance will be ±250 mV. If
the setting for AMASk:UNITs is DIVisions, the same ydelta_value will set
the tolerance to ±250 millidivisions, or 1/4 of a division.
Example This example sets the units to current and sets the
ΔY tolerance to 30 mV,
assuming that the current setting specifies volts in the vertical direction.
myScope.WriteString ":MTEST:AMASK:UNITS CURRENT"
myScope.WriteString ":MTEST:AMASK:YDELTA 30E-3"
Query :MTESt:AMASk:YDELta?
The AMASk:YDELta? query returns the current setting of the ΔY 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:YDELta] <ydelta_value><NL>
Example This example gets the measurement system units and ΔY settings for
automasking from the oscilloscope and prints the results on the computer
screen.
Dim strAutomask_units As String
Dim strAutomask_ydelta As String
myScope.WriteString ":MTEST:AMASK:UNITS?"
strAutomask_units = myScope.ReadString
myScope.WriteString ":MTEST:AMASK:YDELTA?"
strAutomask_ydelta = myScope.ReadString
Debug.Print strAutomask_units
Debug.Print strAutomask_ydelta