Section 15: TSP command reference
Details
Sets the IP address for outgoing trigger events.
Set to "0.0.0.0" for multicast.
After changing this setting, the lan.trigger[N].connect() command must be called before
outgoing messages can be sent.
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
lan.trigger[N].connect()
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
15-148
Model 2606B System SourceMeter® Instrument Reference Manual
(on page 15-145)
Affected by
Instrument reset
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)
Where saved
Default value
Not saved
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
2606B-901-01 Rev. C November 2021
Need help?
Do you have a question about the KEITHLEY SourceMeter 2606B and is the answer not in the manual?
Questions and answers