Trigger.clear() - Keithley 2450 Reference Manual

Interactive sourcemeter instrument
Table of Contents

Advertisement

Model 2450 Interactive SourceMeter® Instrument Reference Manual

trigger.clear()

This function clears the trigger event detector.
Type
TSP-Link accessible
Function
Yes
Usage
trigger.clear()
Details
The trigger event detector indicates if an event has been detected since the last trigger.wait() command
was sent. trigger.clear() clears the trigger event detector and discards the history of trigger events.
Also see
trigger.wait()
trigger.wait()
This function waits for a trigger event.
Type
TSP-Link accessible
Function
Yes
Usage
triggered = trigger.wait(timeout)
triggered
timeout
Details
This function waits up to timeout seconds for a trigger on the active command interface. A command interface
trigger occurs when:
A GPIB GET command is detected (GPIB only)
A VXI-11 device_trigger method is invoked (VXI-11 only)
A *TRG message is received
If one or more of these trigger events were previously 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.
Example
triggered = trigger.wait(10)
print(triggered)
Also see
trigger.clear()
2450-901-01 Rev. B/September 2013
Affected by
(on page 8-215)
Affected by
true: A trigger was detected during the timeout period
false: No triggers were detected during the timeout period
Maximum amount of time in seconds to wait for the trigger
(on page 8-215)
Section 8: TSP command reference
Where saved
Default value
Where saved
Default value
Waits up to 10 seconds for a trigger.
If false is returned, no trigger was detected
during the 10-second timeout.
If true is returned, a trigger was detected.
8-215

Advertisement

Table of Contents
loading

Table of Contents