Section 11: TSP command reference Series 3700A System Switch/Multimeter Reference Manual
11-104 3700AS-901-01 Rev. D/June 2018
channel.trigger[N].wait()
This function waits for the specified trigger or timeout period, whichever comes first.
Usage
triggered = channel.trigger[N].wait(timeout)
Returns an indication that a trigger occurred
Number indicating the channel trigger to wait for (1 to 8)
The number of seconds to wait
Details
If one or more trigger events were detected since the last time channel.trigger[N].wait or
channel.trigger[N].clear was called, this function returns immediately.
After waiting for a trigger with this function, the event detector is automatically reset and rearmed.
This is true regardless of the number of events detected.
The value for timeout must be greater than zero and less than 10,000.
Example
channel.trigger[1].wait(5)
Wait 5 seconds for channel trigger event 1 to
occur or timeout if trigger event is not detected in
5 seconds.