![Keithley 2651A Reference Manual Download Page 435](http://html1.mh-extra.com/html/keithley/2651a/2651a_reference-manual_661729435.webp)
Model 2651A High Power System SourceMeter® Instrument Reference Manual
Section 7: Command reference
2651A-901-01 Rev. A / March 2011
7-127
Example
lan.trigger[3].protocol = lan.TCP
lan.trigger[3].ipaddress = "192.168.1.100"
lan.trigger[3].connect()
Set the protocol for LAN trigger 3 to be
lan.TCP
when sending LAN triggers.
Use IP address
"192.168.1.100"
to
connect the LAN trigger
Also see
(on page 7-124)
lan.trigger[N].mode
This attribute sets the trigger operation and detection mode.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
Instrument reset
LAN trigger N reset
Not saved
lan.TRIG_EITHER
Usage
mode
= lan.trigger[
N
].mode
lan.trigger[
N
].mode =
mode
mode
A number representing the trigger mode (0 to 7); see the
Details
section for
more information
N
A number representing the LAN event number (1 to 8)
Details
This attribute controls the mode in which 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
Number
Trigger packets detected as
input
LAN trigger packet
generated for output
with a…
lan.TRIG_EITHER
0
Rising or falling edge (positive
or negative state)
negative state
lan.TRIG_FALLING
1
Falling edge (negative state) negative
state
lan.TRIG_RISING
2
Rising edge (positive state) positive
state
lan.TRIG_RISINGA
3
Rising edge (positive state) positive
state
lan.TRIG_RISINGM
4
Rising edge (positive state) positive
state
lan.TRIG_SYNCHRONOUS
5
Falling edge (negative state) positive
state
lan.TRIG_SYNCHRONOUSA
6
Falling edge (negative state) positive
state
lan.TRIG_SYNCHRONOUSM
7
Rising edge (positive state) negative
state