![Rigol DS4000E Series Programming Manual Download Page 122](http://html1.mh-extra.com/html/rigol/ds4000e-series/ds4000e-series_programming-manual_1460996122.webp)
RIGOL
2-110
DS4000E Programming Guide
When sending the command, directly place the data stream after the command string, then complete
the whole sending process in one time. When reading the data stream, ensure that there is enough
buffer space to receive the data stream; otherwise, errors might occur in reading the program.
:MASK:ENABle
Syntax
:MASK:ENABle <bool>
:MASK:ENABle?
Description
Enables or disables the pass/fail function; or queries the on/off status of the pass/fail function.
Parameter
Name
Type
Range
Default
<bool>
Bool
{{1|ON}|{0|OFF}}
0|OFF
Remarks
The pass/fail test function cannot be enabled in any of the following conditions:
In the X-Y horizontal time base mode (refer to the :TIMebase:MODE command);
In the Roll horizontal time base mode;
In the Y-T horizontal time base mode and when the horizontal time base is set to 200 ms/div or slower
(refer to the :TIMebase[:MAIN]:SCALe command; in this case, the instrument enters the "Slow
Sweep" mode);
When the waveform recording function is enabled (refer to the :FUNCtion:WRMode command);
When no analog channel (CH1 to CH4) is turned on (refer to the :CHANnel<n>:DISPlay command).
Return Format
The query returns 1 or 0.
:MASK:FAILed?
Syntax
:MASK:FAILed?
Description
Queries the number of failed frames in the pass/fail test results.
Return Format
The query returns an integer.
:MASK:MDISplay
Syntax
:MASK:MDISplay <bool>
:MASK:MDISplay?
Description
Turns on or off the display of the statistic information of the pass/fail test results; or queries the on/off
status of the display of the statistic information of the pass/fail test results.