Instructions
RIGOL  Chapter 2 Command System 
2-86   MSO5000-E 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 
Syntax  :MASK:ENABle <bool> 
:MASK:ENABle? 
Description  Enables or disables the pass/fail test function; or queries the on/off status of the pass/fail 
test function. 
Parameter 
Name 
Type 
Range 
Default 
<bool> 
Bool 
{{1|ON}|{0|OFF}} 
0|OFF 
Remarks  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. 
Return 
Format 
The query returns 1 or 0. 
Example 
:MASK:ENABle ON /*Enables the pass/fail test function.*/ 
:MASK:ENABle? /*The query returns 1.*/ 
:MASK:SOURce 
Syntax  :MASK:SOURce <source> 
:MASK:SOURce? 
Description 
Sets or queries the measurement source of the pass/fail test. 
Parameter 
Name 
Type 
Range 
Default 
<source> 
Discrete 
{CHANnel1|CHANnel2} 
CHANnel1 
Remarks  This command can only set the enabled channel, and you can send 
the :CHANnel<n>:DISPlay command to enable the desired channel. 
Return 
Format 
The query returns CHAN1 or CHAN2. 
Example 
:MASK:SOURce CHANnel2  










