Keithley SourceMeter 2600 Series Reference Manual page 406

Table of Contents

Advertisement

12-132 Instrument Control Library
trigger functions
The functions in this group are used to control triggering.
trigger.clear
Function
Clears the command interface trigger event detector.
Usage
trigger.clear()
The trigger event detector remembers if an event has been detected since the last
Remarks
trigger.wait
previous history of command interface trigger events.
Details
See "Triggering" in
Also see
trigger.wait
trigger.wait
Function
Wait for a trigger event.
Usage
triggered = trigger.wait(timeout)
timeout
triggered
• This function will wait up to
Remarks
message on the GPIB interface if that is the active command interface or a *TRG
message on the command interface for all other interfaces. If one or more of these
trigger events were previously detected, this function will return immediately.
• After waiting for a trigger with this function, the event detector will be automatically
reset and rearmed. This is true regardless of the number of events detected.
Details
See "Triggering" in
Also see
trigger.clear
Example
Waits up to 10 seconds for a trigger:
triggered = trigger.wait(10)
print(triggered)
Output:
The above output indicates that no trigger was detected during the 10 second timeout.
2600S-901-01 Rev. A / May 2006
Series 2600 System SourceMeters Reference Manual
call. This function clears the trigger's event detector and discards the
Section
4.
Maximum amount of time in seconds to wait for the trigger.
Returns
triggers were detected during the timeout period.
timeout
Section
4.
false
Return to
if a trigger was detected. Returns
true
seconds for a GPIB GET command or a *TRG
Section 12 topics
if no
false

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents