
2606B System SourceMeter® Instrument Reference Manual
Section 7: TSP command reference
2606B-901-01 Rev. B / May 2018
7-57
Details
This function resets the following attributes to factory default settings:
digio.trigger[
N
].mode
digio.trigger[
N
].pulsewidth
digio.trigger[
N
].stimulus
It also clears
digio.trigger[
N
].overrun
.
Example
digio.trigger[3].mode = 2
digio.trigger[3].pulsewidth = 50e-6
digio.trigger[3].stimulus = digio.trigger[5].EVENT_ID
print(digio.trigger[3].mode, digio.trigger[3].pulsewidth,
digio.trigger[3].stimulus)
digio.trigger[3].reset()
print(digio.trigger[3].mode, digio.trigger[3].pulsewidth,
digio.trigger[3].stimulus)
Set the digital I/O trigger line 3 for a falling edge with a pulsewidth of 50 microseconds.
Use digital I/O line 5 to trigger the event on line 3.
Reset the line back to factory default values.
Output before reset:
2.00 5.00000e-05 5.00
Output after reset:
0.00 1.00000e-05 0.00
Also see
(on page 7-57)
digio.trigger[N].stimulus
This attribute selects the event that causes a trigger to be asserted on the digital output line.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
Instrument reset
Digital I/O trigger N reset
Recall setup
Not saved
0
Usage
triggerStimulus
= digio.trigger[
N
].stimulus
digio.trigger[
N
].stimulus =
triggerStimulus
triggerStimulus
The event identifier for the triggering event
N
Digital I/O trigger line (1 to 14)
Details
Set this attribute to zero (0) to disable the automatic trigger output.
Do not use the stimulus attribute for generating output triggers under script control. Use
digio.trigger[
N
].assert()
instead.