Trigger.tsplinkin[N].Edge - Keithley 2450 Reference Manual

Interactive sourcemeter instrument
Table of Contents

Advertisement

Model 2450 Interactive SourceMeter® Instrument Reference Manual
Details
The trigger event detector enters the detected state when an event is detected. When this command is sent, the
instrument does the following actions:
Clears the trigger event detector
Discards the history of the trigger line
Clears the trigger.tsplinkin[N].overrun attribute
Example
tsplink.line[2].mode = tsplink.MODE_TRIGGER_OPEN_DRAIN
trigger.tsplinkin[2].clear()
Also see
trigger.tsplinkin[N].overrun
tsplink.line[N].mode

trigger.tsplinkin[N].edge

This attribute indicates which trigger edge controls the trigger event detector for a trigger line.
Type
TSP-Link accessible
Attribute (RW)
Yes
Usage
detectedEdge = trigger.tsplinkin[N].edge
trigger.tsplinkin[N].edge = detectedEdge
detectedEdge
N
Details
When the edge is detected, the instrument asserts a TTL-low pulse for the 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.tsplinkin[3].edge = trigger.EDGE_RISING
Also see
digio.writeport()
tsplink.line[N].mode
2450-901-01 Rev. B/September 2013
(on page 8-226)
(on page 8-232)
Affected by
Restore configuration
Instrument reset
Power cycle
TSP-Link line N reset
The trigger mode:
Detect falling-edge triggers as inputs: trigger.EDGE_FALLING
Detect rising-edge triggers as inputs: trigger.EDGE_RISING
Detect either falling or rising-edge triggers as inputs: trigger.EDGE_EITHER
The trigger line (1 to 3)
(on page 8-46)
(on page 8-232)
Section 8: TSP command reference
Clears the trigger event
on TSP-Link line 2.
Where saved
Default value
Configuration script
trigger.EDGE_FALLING
Sets synchronization line 3
to detect rising edge
triggers as input.
8-225

Advertisement

Table of Contents
loading

Table of Contents