Section 8: TSP command reference
Model 2450 Interactive SourceMeter® Instrument Reference Manual
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
Attribute (RW)
Yes
Restore configuration
Instrument reset
Power cycle
TSP-Link line
N
reset
Configuration script
trigger.LOGIC_POSITIVE
Usage
logicType
= trigger.tsplinkout[
N
].logic
trigger.tsplinkout[
N
].logic =
logicType
logicType
The trigger logic:
•
trigger.LOGIC_POSITIVE
•
trigger.LOGIC_NEGATIVE
N
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
positive pulse.
Also see
trigger.tsplinkout[N].assert()
(on page 8-227)
(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
Attribute (RW) Yes
Restore configuration
Instrument reset
Power cycle
TSP-Link line
N
reset
Configuration script
10e-6 (10
µ
s)
Usage
width
= trigger.tsplinkout[
N
].pulsewidth
trigger.tsplinkout[
N
].pulsewidth =
width
width
The pulse width (0.0 to 100,000 seconds)
N
The trigger line (1 to 3)