8: TSP command reference Model 2450 Interactive SourceMeter® Instrument
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
The trigger mode: trigger.LOGIC_POSITIVE or
trigger.LOGIC_NEGATIVE
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
Also see
digio.line[N].mode (on page 8-43)
digio.line[N].reset() (on page 8-44)
Digital I/O port (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
Instrument reset
Power cycle
Digital I/O trigger N reset
Usage
width = trigger.digout[N].pulsewidth
trigger.digout[N].pulsewidth = width
The pulse width (0 to 100,000 s)
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().