Section 11: 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 over
lan.TRIG_SYNCHRONOUS is preferred, as lan.TRIG_SYNCHRONOUS is provided for compatibility
with older firmware.
Example
print(lan.trigger[1].mode)
Also see
Digital I/O
(on page 6-35)
TSP-Link system expansion interface
11-144
Series 2600B 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)
Outputs the present LAN trigger mode of LAN event 1.
(on page 10-54)
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
2600BS-901-01 Rev. E / January 2019
Need help?
Do you have a question about the KEITHLEY System SourceMeter 2636B and is the answer not in the manual?