RIGOL Chapter 2 Command System
2-90 MSO7000/DS7000 Programming Guide
:MASK Commands
The :MASK commands are used to set or query the relevant parameters of the pass/fail test.
Command List:
:MASK:ENABle
:MASK:SOURce
:MASK:OPERate
:MASK:MDISplay
:MASK:X
:MASK:Y
:MASK:CREate
:MASK:RESet
:MASK:ENABle
:MASK:ENABle <bool>
:MASK:ENABle?
Enables or disables the pass/fail test function; or queries the on/off status of the pass/fail
test function.
The pass/fail test function is invalid in the following conditions: when the horizontal time
base mode is XY or ROLL; when in the slow sweep mode (i.g. the horizontal time base
mode is YT, and the horizontal time base is 200 ms/div or slower); when in waveform
recoding.
The query returns 1 or 0.
:MASK:ENABle ON /*Enables the pass/fail test function.*/
:MASK:ENABle? /*The query returns 1.*/
:MASK:SOURce
:MASK:SOURce <source>
:MASK:SOURce?
Sets or queries the measurement source of the pass/fail test.
{CHANnel1|CHANnel2|CHANnel3|CHANnel4}
This command can only set the enabled channel, and you can send
the :CHANnel<n>:DISPlay command to enable the desired channel.
The query returns CHAN1, CHAN2, CHAN3, or CHAN4.
:MASK:SOURce CHANnel2 /*Sets the measurement source of the pass/fail test to CH2.*/
:MASK:SOURce? /*The query returns CHAN2.*/