8: TSP command reference Model 2461 Interactive SourceMeter® Instrument
8-312 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
print(trigger.tsplinkin[1].overrun)
If an event on line 1 was ignored,
displays true; if no additional event
occurred, displays
.
Also see
None
trigger.tsplinkin[N].wait()
This function waits for a trigger.
Type TSP-Link accessible
Affected by Where saved Default value
Usage
triggered = trigger.tsplinkin[N].wait(timeout)
Trigger detection indication; set to one of the following values:
• true: A trigger is detected during the timeout period
•
: A trigger is not detected during the timeout period
The trigger line (1 to 3)
The timeout value in seconds
Details
This function waits up to the timeout value for an input trigger. If one or more trigger events are
detected since the last time this command or trigger.tsplinkin[N].clear() was called, this
function returns immediately.
After waiting for a trigger with this function, the event detector is automatically reset and rearmed.
This is true regardless of the number of events detected.
Example
tsplink.line[3].mode = tsplink.MODE_TRIGGER_OPEN_DRAIN
triggered = trigger.tsplinkin[3].wait(10)
print(triggered)
Waits up to 10 s for a trigger on
TSP-Link
®
line 3.
If false is returned, no trigger
was detected during the 10-s
timeout.
If true is returned, a trigger was