Section 7: TSP command reference
lan.trigger[N].mode
This attribute sets the trigger operation and detection mode of the specified LAN event.
Type
TSP-Link accessible
Attribute (RW)
Yes
Usage
mode = lan.trigger[N].mode
lan.trigger[N].mode = mode
mode
N
Details
This command controls how the trigger event detector and the output trigger generator operate on the
given trigger. These settings are intended to provide behavior similar to the digital I/O triggers.
LAN trigger mode values
Mode
lan.TRIG_EITHER
lan.TRIG_FALLING
lan.TRIG_RISING
lan.TRIG_RISINGA
lan.TRIG_RISINGM
lan.TRIG_SYNCHRONOUS
lan.TRIG_SYNCHRONOUSA
lan.TRIG_SYNCHRONOUSM
lan.TRIG_RISING and lan.TRIG_RISINGA are the same.
lan.TRIG_RISING and lan.TRIG_RISINGM are the same.
Use of either lan.TRIG_SYNCHRONOUSA or lan.TRIG_SYNCHRONOUSM instead of
lan.TRIG_SYNCHRONOUS is preferred. Use of lan.TRIG_SYNCHRONOUS is provided for
compatibility with older products and other Keithley Instruments products.
Example
print(lan.trigger[1].mode)
Outputs the present LAN trigger mode of LAN event 1.
7-166
Model 2651A High Power System SourceMeter® Instrument Reference Manual
Affected by
Where saved
Instrument reset
Not saved
LAN trigger N reset
Recall setup
A number representing the trigger mode (0 to 7); see the Details section for
more information
A number representing the LAN event number (1 to 8)
Number
Trigger packets detected as
input
0
Rising or falling edge (positive
or negative state)
1
Falling edge (negative state)
2
Rising edge (positive state)
3
Rising edge (positive state)
4
Rising edge (positive state)
5
Falling edge (negative state)
6
Falling edge (negative state)
7
Rising edge (positive state)
Default value
0 (lan.TRIG_EITHER)
LAN trigger packet generated
for output with a...
negative state
negative state
positive state
positive state
positive state
positive state
positive state
negative state
2651A-901-01 Rev. C October 2021
Need help?
Do you have a question about the Keithley 2651A and is the answer not in the manual?
Questions and answers