2606B System SourceMeter® Instrument Reference Manual
Section 7: TSP command reference
2606B-901-01 Rev. B / May 2018
7-135
It also is not an indication of an output trigger overrun. Output trigger overrun indications are provided
in the status model.
Example
overrun = lan.trigger[5].overrun
print(overrun)
Checks the overrun status of a trigger on LAN5 and
outputs the value, such as:
false
Also see
(on page 7-129)
(on page 7-130)
(on page 7-136)
(on page 7-138)
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
Recall setup
Not saved
0 (lan.TCP)
Usage
protocol
= lan.trigger[
N
].protocol
lan.trigger[
N
].protocol =
protocol
protocol
The protocol to use for messages from the trigger:
0
or
lan.TCP
1
or
lan.UDP
2
or
lan.MULTICAST
N
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
(on page 7-133)