Interactive SourceMeter® Instrument Reference Manual Section 8:
2461-901-01 A/November 2015 8-253
Details
This is set to true when the LAN trigger is connected and ready to send trigger events after 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:
Also see
trigger.lanout[N].connect() (on page 8-252)
trigger.lanout[N].ipaddress (on page 8-254)
trigger.lanout[N].protocol (on page 8-255)
trigger.lanout[N].disconnect()
This function disconnects the LAN trigger event generator.
Type TSP-Link accessible
Affected by Where saved Default value
Usage
trigger.lanout[N].disconnect()
The LAN event number (1 to 8)
Details
When this command is set for TCP connections, this closes the TCP connection.
The LAN trigger automatically disconnects when either the trigger.lanout[N].protocol or
trigger.lanout[N].ipaddress attributes for this event are changed.
Also see
trigger.lanout[N].ipaddress (on page 8-254)
trigger.lanout[N].protocol (on page 8-255)