
Section 8: TSP command reference
Model 2461 Interactive SourceMeter® Instrument Reference Manual
8-250
2461-901-01 A/November 2015
Details
This command indicates whether an event has been ignored because the event detector was already
in the detected state when the event occurred.
This is an indication of the state of the event detector built into the synchronization line itself. It does
not indicate if an overrun occurred in any other part of the trigger model, or in any other construct that
is monitoring the event.
It also is not an indication of an output trigger overrun.
Example
overrun = trigger.lanin[5].overrun
print(overrun)
Checks the overrun status of a trigger on LAN5 and
outputs the value, such as:
false
Also see
(on page 8-248)
(on page 8-250)
(on page 8-251)
(on page 8-256)
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 8-248)
(on page 8-249)
(on page 8-251)
(on page 8-256)