Interactive SourceMeter® Instrument Reference Manual Section 8:
2461-901-01 A/November 2015 8-241
Example
print(trigger.wait(1))
trigger.clear()
print(trigger.wait(1))
Generate a trigger event.
Check if there are any pending trigger
events.
Output: true
Clear any pending command triggers.
Check if there are any pending trigger
events.
Output:
Also see
trigger.wait() (on page 8-317)
trigger.digin[N].clear()
This function clears the trigger event on a digital input line.
Type TSP-Link accessible
Affected by Where saved Default value
Function Yes
Usage
trigger.digin[N].clear()
Digital I/O trigger line (1 to 6)
Details
The event detector of a trigger enters the detected state when an event is detected. For the specified
trigger line, this command clears the event detector, discards the history, and clears the overrun
status(sets the overrun status to false).
Example
Clears the trigger event detector on I/O line 2.
Also see
digio.line[N].mode (on page 8-50)
Digital I/O port configuration (on page 3-87)
trigger.digin[N].overrun (on page 8-243)
trigger.digin[N].wait() (on page 8-243)