
Series 3700A System Switch/Multimeter Reference Manual
Section 11: TSP command reference
3700AS-901-01 Rev. D/June 2018
11-117
digio.trigger[N].clear()
This function clears the trigger event on a digital I/O line.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
digio.trigger[
N
].clear()
N
Digital I/O trigger line (1 to 14)
Details
The event detector of a trigger enters the detected state when an event is detected. It is cleared when
digio.trigger[
N
].wait()
or
digio.trigger[
N
].clear()
is called.
digio.trigger[
N
].clear()
clears the event detector of the specified trigger line, discards the
history of the trigger line, and clears the
digio.trigger[
N
].overrun
attribute.
Example
digio.trigger[2].clear()
Clears the trigger event detector on I/O line 2.
Also see
(on page 11-124)
digio.trigger[N].EVENT_ID
This constant identifies the trigger event generated by the digital I/O line N.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Constant
Yes
Usage
eventID
= digio.trigger[
N
].EVENT_ID
eventID
The trigger event number
N
Digital I/O trigger line (1 to 14)
Details
To have another trigger object respond to trigger events generated by the trigger line, set the other
object's stimulus attribute to the value of this constant.
Example 1
digio.trigger[5].stimulus = digio.trigger[3].EVENT_ID
Uses a trigger event on digital I/O
trigger line 3 to be the stimulus for
digital I/O trigger line 5.