Model 2651A High Power System SourceMeter® Instrument Reference Manual
Section 7: Command reference
2651A-901-01 Rev. A / March 2011
7-129
lan.trigger[N].protocol
This attribute sets the LAN protocol to use for sending trigger messages.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
Instrument reset
LAN trigger N reset
Not saved
lan.TCP
Usage
protocol
= lan.trigger[
N
].protocol
lan.trigger[
N
].protocol =
protocol
protocol
The protocol to use for the trigger's messages:
•
0
or
lan.TCP
•
1
or
lan.UDP
•
2
or
lan.MULTICAST
N
The LAN event number (1 through 8)
Details
The LAN trigger listens for trigger messages from either protocol but uses the designated protocol for sending
outgoing messages. After changing this setting,
lan.trigger[
N
].connect()
must be called before outgoing
event messages can be sent.
When the
lan.MULTICAST
protocol is selected, the
lan.trigger[
N
].ipaddress
attribute is ignored and
event messages are sent to the multicast address 224.0.23.159.
Example
print(lan.trigger[1].protocol)
Get LAN protocol to use for sending trigger
messages for LAN event 1.
Also see
(on page 7-126)
(on page 7-124)
lan.trigger[N].pseudostate
This attribute sets the simulated line state for the LAN trigger.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
Instrument reset
LAN trigger N reset
Not saved
1
Usage
pseudostate
= lan.trigger[
N
].pseudostate
lan.trigger[
N
].pseudostate =
pseudostate
pseudostate
The simulated line state (
0
or
1
)
N
The LAN event number (
1
to
8
)