7: TSP command reference Series 2600B System SourceMeter® Instrument
7-390 2600BS-901-01 Rev. C / August 2016
The setting for mode can be one of the following values:
Mode Number
value
Description
Allows direct control of the line as a digital I/O line.
Detects falling-edge triggers as input. Asserts a TTL-low pulse
If the programmed state of the line is high, the
tsplink.TRIG_RISING mode behaves similarly to
tsplink.TRIG_RISINGA.
If the programmed state of the line is low, the
tsplink.TRIG_RISING mode behaves similarly 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
Detects rising- or falling-edge triggers as input. Asserts a
TTL-low pulse for output.
tsplink.TRIG_SYNCHRONOUSA
Detects the falling-edge input triggers and automatically
latches and drives the trigger line low.
Detects the falling-edge input triggers and automatically
latches and drives the trigger line low. Asserts a TTL-low pulse
tsplink.TRIG_SYNCHRONOUSM
Detects rising-edge triggers as an input. Asserts a TTL-low
Detects rising-edge triggers as input. Asserts a TTL-low pulse
for output.
Edge detection as an input is not available. Generates a
TTL-high pulse as an output trigger.
When programmed to any mode except tsplink.TRIG_BYPASS, 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
is 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.
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
synchronization line 3 to