Command Groups
TDS Family Oscilloscope Programmer Manual
2–23
Mask Commands
Mask commands control standard masks, user-defined masks, and testing against
masks. A mask is a polygonal region on the screen. Every vertical line on the
screen intersects the polygon in zero, one, or two places, but never in more than
two. The user has to break up more complicated polygons into separate masks.
Unlike Limit Testing, the inside of a mask is the region where waveform data
would not normally fall. A telecom standard requires two, three, or four of these
masks. Pulse standards always have two masks. Standards with eye patterns
usually have three masks, but some have four. Table 2–18 lists these commands.
Table 2–15: Mask Commands
Header Description
MASK?
(TDS 500C & 700C)
Return mask parameters
MASK:AUTOSet:MODe
(TDS 500C & 700C)
Controls whether or not an autoset will
automatically be done after a standard mask is
selected
MASK:AUTOSet:OFFSETAdj
(TDS 500C & 700C)
Controls whether or not a standard–mask–au-
toset has the freedom to adjust vertical offset
so the waveform matches the mask.
MASK:COUNt
(TDS 500C & 700C)
Clear mask counts and restart counting
MASK:COUNt:STATE
(TDS 500C & 700C)
Controls whether or not mask counting is
being done
MASK:COUNt:TOTal?
(TDS 500C & 700C)
Returns the sum of all the hits in all the
defined masks
MASK:COUNt:WAVEFORMS?
(TDS 500C & 700C)
Returns the number of waveforms that have
contributed to mask counting
MASK:DISplay
(TDS 500C & 700C)
Controls whether or not defined masks are
displayed on the screen
MASK:FILTer
(TDS 500C & 700C)
Controls whether or not a digital filter will be
run on the waveform data
MASK:MASK<NR1>
(TDS 500C & 700C)
With delete argument, deletes all points in the
specified mask.
With query form, queries the state of settable
parameters of the specified mask
MASK:MASK<NR1>:COUNt?
(TDS 500C & 700C)
Returns the number of hits in the specified
mask
MASK:MASK<NR1>:NR_Pt?
(TDS 500C & 700C)
Returns the number of points in the specified
mask
MASK:MASK<NR1>:POInts
(TDS 500C & 700C)
Define points in the specified mask, in user
coordinates