2470 High Voltage SourceMeter Instrument Reference Manual
Section 14: TSP command reference
2470-901-01 Rev. A /
May
2019
14-53
The following settings of
lineMode
set the line as a trigger line:
•
digio.MODE_TRIGGER_IN
: The line automatically responds to and detects externally generated
triggers. It detects falling-edge, rising-edge, or either-edge triggers as input. This line state uses
the edge setting specified by the
trigger.digin[
N
].edge
attribute.
•
digio.MODE_TRIGGER_OUT
: The line is automatically set high or low depending on the output
logic setting. Use the negative logic setting when you want to generate a falling edge trigger and
use the positive logic setting when you want to generate a rising edge trigger.
•
digio.MODE_TRIGGER_OPEN_DRAIN
: Configures the line to be an open-drain signal. You can
use the line to detect input triggers or generate output triggers. This line state uses the edge
setting specified by the
trigger.digin[
N
].edge
attribute.
When the line is set as a synchronous acceptor, the line detects the falling-edge input triggers and
automatically latches and drives the trigger line low. Asserting an output trigger releases the latched
line.
When the line is set as a synchronous master, the line detects rising-edge triggers as input. For
output, the line asserts a TTL-low pulse.
Example
digio.line[1].mode = digio.MODE_TRIGGER_OUT
Set digital I/O line 1 to be an output trigger
line.
Also see
(on page 8-16)
Digital I/O port configuration
(on page 14-199)
digio.line[N].reset()
This function resets digital I/O line values to their factory defaults.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
digio.line[
N
].reset()
N
The digital I/O line: 1 to 6