Model 2461 Interactive SourceMeter® Instrument Reference Manual
Section 8: TSP command reference
2461-901-01 A/November 2015
8-313
Also see
(on page 8-310)
(on page 8-319)
trigger.tsplinkout[N].assert()
This function simulates the occurrence of the trigger and generates the corresponding trigger event.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
trigger.tsplinkout[
N
].assert()
N
The trigger line (1 to 3)
Details
Initiates a trigger event and does not wait for completion. The set pulse width determines how long
the trigger is asserted.
Example
tsplink.line[2].mode = tsplink.MODE_TRIGGER_OPEN_DRAIN
trigger.tsplinkout[2].assert()
Asserts trigger on trigger line 2.
Also see
(on page 8-319)
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_NEGATIVE
Usage
logicType
= trigger.tsplinkout[
N
].logic
trigger.tsplinkout[
N
].logic =
logicType
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:
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.
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.