Trigger.clear() - Keithley 2651A Reference Manual

High power system sourcemeter instrument
Hide thumbs Also See for 2651A:
Table of Contents

Advertisement

Section 7: Command reference
Details
This function waits for an event blender trigger event. If one or more trigger events were detected since the last
time trigger.blender[N].wait() or trigger.blender[N].clear() was called, this function returns
immediately.
After detecting a trigger with this function, the event detector automatically resets and rearms. This is true
regardless of the number of events detected.
Example
digio.trigger[3].mode = digio.TRIG_FALLING
digio.trigger[5].mode = digio.TRIG_FALLING
trigger.blender[1].orenable = true
trigger.blender[1].stimulus[1] = digio.trigger[3].EVENT_ID
trigger.blender[1].stimulus[2] = digio.trigger[5].EVENT_ID
print(trigger.blender[1].wait(3))
Also see
trigger.blender[N].clear()

trigger.clear()

This function clears the command interface trigger event detector.
Type
TSP-Link accessible
Function
No
Usage
trigger.clear()
Details
The trigger event detector indicates if an event has been detected since the last trigger.wait() call. This
function clears the trigger's event detector and discards the previous history of command interface trigger events.
Also see
trigger.wait()
7-338
Model 2651A High Power System SourceMeter® Instrument Reference Manual
(on page 7-333)
Affected by
(on page 7-346)
Where saved
Default value
2651A-901-01 Rev. A / March 2011
Generate a trigger blender 1
event when a digital I/O
trigger happens either on
line 3 or 5.
Wait three seconds while
checking if trigger blender 1
event has occurred.
If the blender trigger event
has happened, then true is
output. If the trigger event
has not happened, then
false is output after the
timeout expires.

Advertisement

Table of Contents
loading

Table of Contents