Section 14: TSP command reference
2470 High Voltage SourceMeter Instrument Reference Manual
14-200
2470-901-01 Rev. A /
May
2019
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 14-52)
Digital I/O port configuration
(on page 14-198)
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