User manual
Section 3: TSP Advanced Features Series 3700 System Switch/Multimeter Reference Manual
3-16 3700S-901-01 Rev. C / July 2008
tsplink.trigger[N].wait()
Function
Wait for a trigger.
Usage
triggered = tsplink.trigger[N].wait(timeout)
N: The trigger line (1–3).
timeout: Maximum amount of time in seconds to wait for the trigger.
triggered: Trigger detection indication.
Remarks
This function will wait for an input trigger. If one or more trigger events were detected
since the last time tsplink.trigger[N].wait() or tsplink.trigger[N].clear() (on page 3-13)
was called, this function will return immediately.
After waiting for a trigger with this function, the event detector will be automatically
reset and rearmed. This is true regardless of the number of events detected.
waitcomplete()
Function
Wait for all overlapped commands to complete.
Usage
waitcomplete([group])
group: Optional TSP-Link
TM
group on which to wait.
Remarks
This function will wait for all overlapped operations within given group to complete. A
group number may only be specified from the master node. If no group is specified,
the local group will be used. If zero is given for the group, this function will wait for all
nodes in the system.
NOTE Any nodes that are not assigned to a group (their group number is zero) will
be considered to be part of the master's group.
This function will wait for all previously started overlapped commands to complete.
Currently the Series 3700 has no overlapped commands implemented. However,
other TSP
TM
-enabled products like the Series 3700 has overlapped commands.
Therefore, when the Series 3700 is a TSP master to a slave device with overlapped
commands, use this function to wait until all overlapped operations are completed.