![background image](http://html2.mh-extra.com/html/keithley/2657a/2657a_reference-manual_4007750656.webp)
Model 2657A High Power System SourceMeter® Instrument Reference Manual
Section 7: TSP command reference
2657A-901-01 Rev. B/December 2012
7-343
trigger.timer[N].wait()
This function waits for a trigger.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
triggered = trigger.timer[
N
].wait(
timeout
)
triggered
Trigger detection indication
N
Trigger timer number (1 to 8)
timeout
Maximum amount of time in seconds to wait for the trigger
Details
If one or more trigger events were detected since the last time
trigger.timer[
N
].wait()
or
trigger.timer[
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
triggered = trigger.timer[3].wait(10)
print(triggered)
Waits up to 10 seconds for a trigger on
timer 3.
If
false
is returned, no trigger was
detected during the 10-second timeout.
If
true
is returned, a trigger was detected.
Also see
(on page 7-337)
trigger.wait()
This function waits for a command interface trigger event.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function No
Usage
triggered
= trigger.wait(
timeout
)
triggered
true
: A trigger was detected during the timeout period
false
: No triggers were detected during the timeout period
timeout
Maximum amount of time in seconds to wait for the trigger
Содержание 2657A
Страница 3: ......