8: TSP command reference Model 2450 Interactive SourceMeter® Instrument
8-228 2450-901-01 Rev. B/September 2013
trigger.tsplinkout[N].logic
This attribute defines the trigger output with output logic for a trigger line.
Type TSP-Link accessible Affected by Where saved Default value
Instrument reset
Power cycle
TSP-Link line N reset
Usage
logicType = trigger.tsplinkout[N].logic
trigger.tsplinkout[N].logic = logicType
The trigger logic:
• trigger.LOGIC_POSITIVE
•
The trigger line (1 to 3)
Details
This attribute controls the logic that the output trigger generator uses on the given trigger line.
If the output logic is set to trigger.LOGIC_POSITIVE, the trigger generator asserts a TTL-high pulse for
output.
If the output logic is set to trigger.LOGIC_NEGATIVE, the trigger generator asserts a TTL-low pulse for
output.
The output state of the I/O line is controlled by the trigger logic, and the user-specified output state of the line is
ignored.
Example
tsplink.line[3].mode = tsplink.MODE_TRIGGER_OPEN_DRAIN
trigger.tsplinkout[3].logic = trigger.LOGIC_POSITIVE
Sets the trigger logic for
synchronization line 3 to output a
Also see
trigger.tsplinkout[N].assert() (on page 8-227)
tsplink.line[N].mode (on page 8-232)
trigger.tsplinkout[N].pulsewidth
This attribute sets 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
Usage
width = trigger.tsplinkout[N].pulsewidth
trigger.tsplinkout[N].pulsewidth = width
The pulse width (0.0 to 100,000 seconds)
The trigger line (1 to 3)