19-216
Return to
2600AS-901-01 Rev. B / September 2008
Section 19: Remote Commands
Series 2600A System SourceMeter® Instruments Reference Manual
tsplink.trigger[N].mode
Replace N with the number of the synchronization line: 1-3
Attribute
The trigger operation and detection mode.
Default
tsplink.TRIG_BYPASS
TSP-Link
accessibility
This attribute can be accessed from a remote TSP-Link node.
Usage
mode = tsplink.trigger[n].mode
tsplink.trigger[n].mode = mode
n
The trigger line number.
mode
Selects the current trigger mode.
Choose one the following values for
mode
:
0
or
tsplink.TRIG_BYPASS
Allows direct control of the line.
1
or
tsplink.TRIG_FALLING
Detects falling edge input triggers.
Asserts TTL-low pulse as an output trigger.
2
or
tsplink.TRIG_RISING
If the programmed state of the line is high, the
tsplink.TRIG_RISING
mode behaves similar to
tsplink.TRIG_RISINGA
. If the programmed
state of the line is low, the
tsplink.TRIG_RISING
mode behaves similar to
tsplink.TRIG_RISINGM.
3
or
tsplink.TRIG_EITHER
Detects rising or falling edge triggers.
Asserts a TTL-low trigger pulse.
4
or
tsplink.TRIG_SYNCHRONOUSA
Detects the falling edge input triggers and
automatically latches and drives the trigger
line low.
Asserting the output trigger releases the latched
line.
5
or
tsplink.TRIG_SYNCHRONOUS
Detects the falling edge input triggers and
automatically latches and drives the trigger
line low.
Asserts a TTL-low pulse as an output trigger.
6
or
tsplink.TRIG_SYNCHRONOUSM
Detects rising edge triggers as an input.
Asserts a low TTL-low pulse for output.
7
or
tsplink.TRIG_RISINGA
Detects Rising Edge triggers as an input.
Asserts a low TTL-low pulse as an output.
8
or
tsplink.TRIG_RISINGM
Edge detection as an input is not available.
Generates a TTL-high pulse as an output trigger.
Remarks
• You can express the mode as a number (0 through 8) or you can use one of the
pre-defined constants (see
• The custom variable
mode
stores the trigger mode as a numeric value when the attribute is read.
• The default trigger
mode
for a line is
tsplink.TRIG_BYPASS
.
• To control the line state, use the
tsplink.TRIG_BYPASS
mode with the
tsplink.writebit
and the
tsplink.writeport
commands.
Details
See
Hardware trigger modes for digital I/O and TSP-Link synchronization lines
Example
Sets the trigger mode for the synchronization line 3 to
tsplink.TRIG_RISINGM:
tsplink.trigger[3] = 8