Model 2651A High Power System SourceMeter® Instrument Reference Manual
Section 7: Command reference
2651A-901-01 Rev. A / March 2011
7-353
The setting for
mode
can be one of the following values:
Mode Number
value
Description
tsplink.TRIG_BYPASS 0
Allows direct control of the line as a digital I/O line.
tsplink.TRIG_FALLING 1
Detects falling-edge triggers as input. Asserts a TTL-low pulse
for output.
tsplink.TRIG_RISING 2
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
. Use
tsplink.TRIG_RISINGA
if
the line is in the high output state. Use
tsplink.TRIG_RISINGM
if the line is in the low output state.
tsplink.TRIG_EITHER 3
Detects rising- or falling-edge triggers as input. Asserts a
TTL-low pulse for output.
tsplink.TRIG_SYNCHRONOUSA 4
Detects the falling-edge input triggers and automatically
latches and drives the trigger line low.
tsplink.TRIG_SYNCHRONOUS 5
Detects the falling-edge input triggers and automatically
latches and drives the trigger line low. Asserts a TTL-low pulse
as an output trigger.
tsplink.TRIG_SYNCHRONOUSM 6
Detects rising-edge triggers as an input. Asserts a TTL-low
pulse for output.
tsplink.TRIG_RISINGA 7
Detects rising-edge triggers as input. Asserts a TTL-low pulse
for output.
tsplink.TRIG_RISINGM 8
Edge detection as an input is not available. Generates a
TTL-high pulse as an output trigger.
When programmed to any other mode, 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.
When the trigger mode is set to
tsplink.TRIG_RISING
, the user-specified output state of the line will be
examined. If the output state selected when the mode is changed is high, the actual mode used will be
tsplink.TRIG_RISINGA
. If the output state selected when the mode is changed is low, the actual mode used
will be
tsplink.TRIG_RISINGM
.
The custom variable mode stores the trigger mode as a numeric value when the attribute is read.
To control the line state, use the
tsplink.TRIG_BYPASS
mode with the
tsplink.writebit()
and the
tsplink.writeport()
commands.
Example
tsplink.trigger[3].mode =
tsplink.TRIG_RISINGM
Sets the trigger mode for the
synchronization Line 3 to
tsplink.TRIG_RISINGM
.