
Model 2461 Interactive SourceMeter® Instrument Reference Manual
Section 8: TSP command reference
2461-901-01 A/November 2015
8-241
Example
*TRG
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:
false
Also see
(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()
N
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
trigger.digin[2].clear()
Clears the trigger event detector on I/O line 2.
Also see
(on page 8-50)
Digital I/O port configuration
(on page 3-87)
(on page 8-243)
(on page 8-243)