
Model 2461 Interactive SourceMeter® Instrument Reference Manual
Section 8: TSP command reference
2461-901-01 A/November 2015
8-243
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 applicable
Not applicable
Usage
overrun
= trigger.digin[
N
].overrun
overrun
Trigger overrun state (
true
or
false
)
N
Digital I/O trigger 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-50)
(on page 8-52)
Digital I/O port configuration
(on page 3-87)
(on page 8-241)
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
Trigger detected:
true
No triggers detected during the timeout period:
false
N
Digital I/O trigger line (1 to 6)
timeout
Timeout in seconds