
Section 8: TSP command reference
Model 2450 Interactive SourceMeter® Instrument Reference Manual
8-174
2450-901-01 Rev. B/September 2013
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_POSITIVE
Usage
logicType
= trigger.digout[
N
].logic
trigger.digout[
N
].logic =
logicType
logicType
The trigger mode:
trigger.LOGIC_POSITIVE
or
trigger.LOGIC_NEGATIVE
N
Digital I/O trigger line (1 to 6)
Details
This attribute configures the trigger event generator to assert a TTL pulse for output logic; positive is a high
pulse, negative is a low pulse.
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-43)
(on page 8-44)
(on page 3-62)
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,000 s)
N
Digital I/O trigger line (1 to 6)
Details
Setting the pulse width to zero (0) seconds asserts the trigger indefinitely. To release the trigger line, use
trigger.digout[
N
].release()
.