
Model 2461 Interactive SourceMeter® Instrument Reference Manual
Section 8: TSP command reference
2461-901-01 A/November 2015
8-245
trigger.digout[N].logic
This attribute sets the output logic of the trigger event generator to positive or negative for the specified line.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
Restore configuration
Instrument reset
Power cycle
Digital I/O trigger
N
reset
Configuration script
trigger.LOGIC_NEGATIVE
Usage
logicType
= trigger.digout[
N
].logic
trigger.digout[
N
].logic =
logicType
logicType
The output logic of the trigger generator:
•
Assert a TTL-high pulse for output:
trigger.LOGIC_POSITIVE
•
Assert a TTL-low pulse for output:
trigger.LOGIC_NEGATIVE
N
Digital I/O trigger line (1 to 6)
Details
This attribute controls the logic that the output trigger generator uses on the given trigger line.
The output state of the digital I/O line is controlled by the trigger logic, and the user-specified output
state of the line is ignored.
Example
digio.line[4].mode = digio.MODE_TRIGGER_OUT
trigger.digout[4].logic = trigger.LOGIC_NEGATIVE
Sets line 4 mode to be a trigger output
and sets the output logic of the trigger
event generator to negative (asserts a
low pulse).
Also see
(on page 8-50)
(on page 8-52)
Digital I/O port configuration
(on page 3-87)
trigger.digout[N].pulsewidth
This attribute describes the length of time that the trigger line is asserted for output triggers.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
Restore configuration
Instrument reset
Power cycle
Digital I/O trigger
N
reset
Configuration script
10e-6 (10
µ
s)
Usage
width
= trigger.digout[
N
].pulsewidth
trigger.digout[
N
].pulsewidth =
width
width
The pulse width (0 to 100 ks)
N
Digital I/O trigger line (1 to 6)