Model 2450 Interactive SourceMeter® Instrument Reference Manual
Section 8: TSP command reference
2450-901-01 Rev. B/September 2013
8-181
trigger.lanout[N].connected
This attribute stores the LAN event connection state.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (R)
Yes
Not applicable
Not applicable
Not applicable
Usage
connected
= trigger.lanout[
N
].connected
connected
The LAN event connection state:
•
true
: Connected
•
false
: Not connected
N
The LAN event number (1 to 8)
Details
This is set to true when the LAN trigger is connected and ready to send trigger events following a successful
trigger.lanout[
N
].connect()
command. If the LAN trigger is not ready to send trigger events, this value
is false.
This attribute is also false when the
trigger.lanout[
N
].protocol
or
trigger.lanout[
N
].ipaddress
attribute is changed or when the remote connection closes the connection.
Example
trigger.lanout[1].protocol =
lan.PROTOCOL_MULTICAST
print(trigger.lanout[1].connected)
Outputs
true
if connected, or
false
if not connected.
Example output:
false
Also see
(on page 8-180)
(on page 8-182)
(on page 8-183)