Section 14: TSP command reference
2470 High Voltage SourceMeter Instrument Reference Manual
14-208
2470-901-01 Rev. A /
May
2019
Also see
(on page 14-206)
(on page 14-208)
(on page 14-208)
trigger.lanin[N].wait()
This function waits for an input trigger.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
triggered
= trigger.lanin[
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
trigger.lanin[
N
].wait()
or
trigger.lanin[
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 = trigger.lanin[5].wait(3)
Wait for a trigger event with LAN trigger 5
with a timeout of 3 s.
Also see
(on page 14-206)
(on page 14-207)
(on page 14-208)
trigger.lanout[N].assert()
This function simulates the occurrence of the trigger and generates the corresponding event.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
trigger.lanout[
N
].assert()
N
The LAN event number (1 to 8)