
Section 8: TSP command reference
Model 2450 Interactive SourceMeter® Instrument Reference Manual
8-172
2450-901-01 Rev. B/September 2013
trigger.digin[N].overrun
This attribute returns the event detector overrun status.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (R)
Yes
Digital I/O trigger
N
clear
Digital I/O trigger
N
reset
Not saved
Not applicable
Usage
overrun
= trigger.digin[
N
].overrun
overrun
Trigger overrun state (
true
or
false
)
N
Digital input line (1 to 6)
Details
If this is true, an event was 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 line itself. It does not indicate if an overrun
occurred in any other part of the trigger model or in any other detector that is monitoring the event.
Example
overrun = trigger.digin[1].overrun
print(overrun)
If there is no trigger overrun on digital
input 1, the output is:
false
Also see
(on page 8-43)
(on page 8-44)
(on page 3-62)
(on page 8-170)
trigger.digin[N].wait()
This function waits for a trigger.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
triggered
= trigger.digin[
N
].wait(
timeout
)
triggered
The value
true
if a trigger is detected, or
false
if no triggers are detected during
the timeout period
N
Digital I/O trigger line (1 to 6)
timeout
Timeout in seconds