Section 9: TSP command reference Series 2600B System SourceMeter® instrument Reference Manual
9-150 2600BS-901-01 Rev. F/August 2021
lan.trigger[N].protocol
This attribute sets the LAN protocol to use for sending trigger messages.
Instrument reset
LAN trigger N reset
Recall setup
Usage
protocol = lan.trigger[N].protocol
lan.trigger[N].protocol = protocol
The protocol to use for messages from the trigger:
â–ª 0 or lan.TCP
â–ª 1 or lan.UDP
â–ª 2 or lan.MULTICAST
The LAN event number (1 to 8)
Details
The LAN trigger listens for trigger messages on all supported protocols, 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
lan.trigger[N].connect() (on page 9-145)
lan.trigger[N].ipaddress (on page 9-147)
lan.trigger[N].pseudostate
This attribute sets the simulated line state for the LAN trigger.
Instrument reset
LAN trigger N reset
Recall setup
Usage
pseudostate = lan.trigger[N].pseudostate
lan.trigger[N].pseudostate = pseudostate
The simulated line state (0 or 1)
A number representing the LAN event number (1 to 8)