8: TSP command reference Model 2461 Interactive SourceMeter® Instrument
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:
Also see
trigger.lanin[N].clear() (on page 8-248)
trigger.lanin[N].wait() (on page 8-250)
trigger.lanout[N].assert() (on page 8-251)
trigger.lanout[N].stimulus (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
Usage
triggered = trigger.lanin[N].wait(timeout)
Trigger detection indication (
or
)
The trigger packet over LAN to wait for (1 to 8)
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
trigger.lanin[N].clear() (on page 8-248)
trigger.lanin[N].overrun (on page 8-249)
trigger.lanout[N].assert() (on page 8-251)
trigger.lanout[N].stimulus (on page 8-256)