Section 7: TSP command reference Model 2657A High Power System SourceMeter® Instrument Reference Manual
7-52 2657A-901-01 Rev. B/December 2012
Example 2
smua.trigger.arm.stimulus =
digio.trigger[3].EVENT_ID
Uses a trigger event on digital I/O
trigger line 3 to be the trigger stimulus
for the SMU.
Also see
None
digio.trigger[N].mode
This attribute sets the mode in which the trigger event detector and the output trigger generator operate on the
given trigger line.
Type TSP-Link accessible Affected by Where saved Default value
Attribute (RW) Yes Instrument reset
Digital I/O trigger N reset
Recall setup
Not saved 0
(digio.TRIG_BYPASS)
Usage
triggerMode = digio.trigger[N].mode
digio.trigger[N].mode = triggerMode
triggerMode
The trigger mode; see Details for values
N
Digital I/O trigger line (1 to 14)
Details
Set triggerMode to one of the following values:
Trigger mode values
triggerMode
Description
digio.TRIG_BYPASS or 0
Allows direct control of the line.
digio.TRIG_FALLING or 1
Detects falling-edge triggers as input; asserts a TTL-low pulse for
output.
digio.TRIG_RISING or 2
If the programmed state of the line is high, the
digio.TRIG_RISING mode behavior is similar to
digio.TRIG_RISINGA. If the programmed state of the line is low,
the digio.TRIG_RISING mode behavior is similar to
digio.TRIG_RISINGM. This setting should only be used if
necessary for compatibility with other Keithley Instruments products.
digio.TRIG_EITHER or 3
Detects rising- or falling-edge triggers as input. Asserts a TTL-low
pulse for output.
digio.TRIG_SYNCHRONOUSA or 4
Detects the falling-edge input triggers and automatically latches and
drives the trigger line low. Asserting the output trigger releases the
latched line.
digio.TRIG_SYNCHRONOUS or 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.
digio.TRIG_SYNCHRONOUSM or 6
Detects rising-edge triggers as input. Asserts a TTL-low pulse for
output.
digio.TRIG_RISINGA or 7
Detects rising-edge triggers as input. Asserts a TTL-low pulse for
output.
digio.TRIG_RISINGM or 8
Asserts a TTL-high pulse for output. Input edge detection is not
possible in this mode.