Section 11: TSP command reference
Series 3700A System Switch/Multimeter Reference Manual
11-282
3700AS-901-01 Rev. D/June 2018
Setting this attribute to zero disables automatic trigger generation.
If any events are detected prior to calling
lan.trigger[
N
].connect()
, the event is ignored and
the action overrun is set.
Example
lan.trigger[5].stimulus = trigger.timer[1].EVENT_ID
Use timer 1 trigger event as the
source for LAN packet 5 trigger
stimulus.
Also see
(on page 11-273)
(on page 11-278)
(on page 11-282)
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 11-273)
(on page 11-278)
(on page 11-280)