Models 707B and 708B Switching Matrix Reference Manual
Section 7: TSP command reference
707B-901-01 Rev. B / January 2015
7-117
lan.trigger[N].wait()
This function waits for an input trigger.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
triggered
= lan.trigger[
N
].wait(
timeout
)
triggered
Trigger detection indication (
true
or
false
)
N
The trigger packet over LAN to wait for (1 to 8)
timeout
Maximum amount of time in seconds to wait for the trigger event
Details
If one or more trigger events have been detected since the last time
lan.trigger[
N
].wait()
or
lan.trigger[
N
].clear()
was called, this function returns immediately.
After waiting for a LAN trigger event with this function, the event detector is automatically reset and
rearmed regardless of the number of events detected.
Example
triggered = lan.trigger[5].wait(3)
Wait for a trigger with LAN packet 5 with a timeout of
3 seconds.
Also see
(on page 7-108)
(on page 7-108)
(on page 7-113)
(on page 7-115)