Section 7: TSP command reference
Series 2600B System SourceMeter® Instrument Reference Manual
7-80
2600BS-901-01 Rev. B / May 2013
Usage
overrun
= display.trigger.overrun
overrun
The trigger overrun state
Details
Indicates if a trigger event was ignored because the event detector was already in the detected state when the
TRIG button was pressed.
Indicates the overrun state of the event detector built into the display.
This attribute does not indicate whether an overrun occurred in any other part of the trigger model or in any other
detector that is monitoring the event.
Example
overrun = display.trigger.overrun
Sets the variable
overrun
equal to the
present state of the event detector built into
the display.
Also see
display.trigger.clear()
(on page 7-79)
display.trigger.wait()
This function waits for the TRIG key on the front panel to be pressed.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
triggered
= display.trigger.wait(
timeout
)
triggered
true
: Trigger was detected
false
: The operation timed out
timeout
Timeout in seconds
Details
If the trigger key was previously pressed and one or more trigger events were detected, 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.
Use the
display.trigger.clear()
call to clear the trigger event detector.
Example
triggered = display.trigger.wait(5)
print(triggered)
Waits up to five seconds for the TRIG key to be
pressed. If TRIG is pressed within five seconds,
the output is
true
. If not, the output is
false
.
Also see
display.trigger.clear()
(on page 7-79)
Содержание System SourceMeter 2601B
Страница 841: ......