Manual

Remote Control Commands and Queries
WM-RCM-E Rev D ISSUED: February 2005
253
ACQUISITION
WAIT
Command
DESCRIPTION
The WAIT command prevents your instrument from analyzing new
commands until the current acquisition has been completed. The
optional argument specifies the timeout (in seconds) after which the
scope will stop waiting for new acquisitions. If <t> is not given, or if
<t> = 0.0, the scope will wait indefinitely.
COMMAND SYNTAX
WAIT [<t>]
<t>:=timeout in seconds (default is indefinite)
EXAMPLE (GPIB)
send: “TRMD SINGLE”
loop {send:”ARM;WAIT;C1:PAVA?MAX”
read response
process response
}
This example finds the maximum amplitudes of several signals
acquired one after another. ARM starts a new data acquisition. The
WAIT command ensures that the maximum is evaluated for the
newly acquired waveform.
C1:PAVA?MAX instructs the oscilloscope to evaluate the
maximum data value in the Channel 1 waveform.
RELATED COMMANDS
*TRG, TRIG_MODE, ARM