User manual

Table Of Contents
MAUI Oscilloscopes Remote Control and Automation Manual
WAIT
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 stops waiting for new acquisitions. If a timeout value (<t>) is not given, or if <t> = 0.0, the scope
waits indefinitely.
Command Syntax
WAIT [<t>]
<t>:= time in seconds
Example (GPIB)
send: "TRMD SINGLE"
loop {send:"ARM;WAIT;*OPC;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.
The query "C1:PAVA? MAX" instructs the oscilloscope to evaluate the maximum data value in the Channel
1 waveform.
Related Commands
*TRG, TRIG_MODE, ARM
6-42