Technical data

Mask Test Commands 23
Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference 423
:MTESt:RUMode
Command :MTESt:RUMode {FORever | TIME, <time> | {WAVeforms, <number_of_waveforms
>}}
The :MTESt:RUMode command determines the termination conditions for
the mask test. The choices are FORever, TIME, or WAVeforms.
If WAVeforms is selected, a second parameter is required indicating the
number of failures that can occur or the number of samples or waveforms
that are to be acquired.
FORever FORever runs the Mask Test until the test is turned off. This is used when
you want a measurement to run continually and not to stop after a fixed
number of failures. For example, you may want the Mask Test to run
overnight and not be limited by a number of failures.
TIME TIME sets the amount of time in minutes that a mask test will run before
it terminates.
<time> A real number: 0.1 to 1440.0
WAVeforms WAVeforms sets the maximum number of waveforms that are required
before the mask test terminates.
<number_of_
waveforms>
An integer: 1 to 1,000,000,000.
Example This example sets the mask test subsystem run until mode to continue
testing until 500,000 waveforms have been gathered.
myScope.WriteString ":MTEST:RUMODE WAVEFORMS,500E3"
Query :MTESt:RUMode?
The query returns the currently selected termination condition and value.
Returned Format
[:MTESt:RUMode] {FORever | TIME,<time> | {WAVeforms, <number_of_waveform
s>}}<NL>
Example This example gets the current setting of the mask test run until mode
from the oscilloscope and prints it on the computer screen.
Dim strMTEST_Runmode As String
myScope.WriteString ":MTEST:RUMODE?"
strMTEST_Runmode = myScope.ReadString
Debug.Print strMTEST_Runmode