Chapter 2 Command System RIGOL
MSO1000Z/DS1000Z Programming Guide 2-109
:MASK:MDISplay
:MASK:MDISplay <bool>
:MASK:MDISplay?
Enable or disable the statistic information when the pass/fail test is enabled, or query the
status of the statistic information.
 Before executing this command, you need to send the :MASK:ENABle command to
enable the pass/fail test.
 When the statistic information is on, the test results as shown in the figure below will
be displayed at the upper right corner of the screen.
 You can sent the :MASK:PASSed?, :MASK:FAILed?, and :MASK:TOTal? commands to
query the test results.
The query returns 1 or 0.
:MASK:MDISplay ON /*Enable the statistic information*/
:MASK:MDISplay? /*The query returns 1*/
:MASK:SOOutput
:MASK:SOOutput <bool>
:MASK:SOOutput?
Turn the "Stop on Fail" function on or off, or query the status of the "Stop on Fail"
function.
 ON: when failed waveforms are detected, the oscilloscope will stop the test and enter
the "STOP" state. At this point, the results of the test remain the same on the screen
(if the display is turned on) and the [Trigger Out] connector (if enabled) at the rear
panel outputs a single pulse.
 OFF: the oscilloscope will continue with the test even though failed waveforms are
detected. The test results on the screen will update continuously and the [Trigger
Out] connector at the rear panel outputs a pulse each time a failed waveform is
detected.
The query returns 1 or 0.
:MASK:SOOutput ON /*Turn the "Stop on Fail" function on*/
:MASK:SOOutput? /*The query returns 1*/