Section 7: TSP command reference
Series 2600B System SourceMeter® Instrument Reference Manual
7-56
2600BS-901-01 Rev. B / May 2013
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
digio.trigger[N].mode
(on page 7-52)
digio.trigger[N].overrun
(on page 7-54)
digio.trigger[N].pulsewidth
digio.trigger[N].stimulus
(on page 7-56)
digio.trigger[N].stimulus
This attribute selects the event that causes a trigger to be asserted on the digital output line. This attribute is not
available on the Models 2604B/2614B/2634B.
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.
Содержание System SourceMeter 2601B
Страница 841: ......