14: TSP command reference 2470 High Voltage SourceMeter Instrument
14-202 2470-901-01 Rev. A / May 2019
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
The output logic of the trigger generator:
ï‚§ Assert a TTL-high pulse for output: trigger.LOGIC_POSITIVE
ï‚§ Assert a TTL-low pulse for output:
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
digio.line[N].mode (on page 14-52)
digio.line[N].reset() (on page 14-53)
Digital I/O port configuration (on page 8-13)