Interactive SourceMeter® Instrument Reference Manual Section 8:
2450-901-01 Rev. B/September 2013 8-173
Details
This function pauses for up to timeout seconds for an input trigger. If one or more trigger events are detected
since the last time digio.trigger[N].wait() or digio.trigger[N].clear() was called, this function
returns a value immediately. After waiting for a trigger with this function, the event detector is automatically reset
and ready to detect the next trigger. This is true regardless of the number of events detected.
Example
digio.line[4].mode = digio.MODE_TRIGGER_OUT
triggered = trigger.digin[4].wait(3)
print(triggered)
Waits up to three seconds for a trigger to be
detected on trigger line 4, then outputs the
results.
Output if no trigger is detected:
false
Output if a trigger is detected:
Also see
digio.line[N].mode (on page 8-43)
Digital I/O port (on page 3-62)
trigger.digin[N].clear() (on page 8-170)
trigger.digout[N].assert()
This function asserts a trigger on one of the digital I/O lines.
Type TSP-Link accessible
Affected by Where saved Default value
Function Yes
Usage
trigger.digout[N].assert()
Digital I/O trigger line (1 to 6)
Details
Initiates a trigger event and does not wait for completion. The set pulse width determines how long the trigger is
asserted.
Example
digio.line[2].mode = digio.MODE_TRIGGER_OUT
trigger.digout[2].assert()
Asserts a trigger on digital I/O line 2.
Also see
digio.line[N].mode (on page 8-43)
Digital I/O port (on page 3-62)
trigger.digout[N].pulsewidth (on page 8-174)