System SourceMeter® Instrument Reference Manual Section 7:
2600BS-901-01 Rev. C / August 2016 7-143
Details
This read-only attribute is set to true when the LAN trigger is connected and ready to send trigger
events following a successful lan.trigger[N].connect() command; if the LAN trigger is not
ready to send trigger events, this value is false.
This attribute is also false when either lan.trigger[N].protocol or
lan.trigger[N].ipaddress attributes are changed or the remote connection closes the
connection.
Example
lan.trigger[1].protocol = lan.MULTICAST
print(lan.trigger[1].connected)
Outputs true if connected, or false if not
connected.
Example output:
Also see
lan.trigger[N].connect() (on page 7-142)
lan.trigger[N].ipaddress (on page 7-144)
lan.trigger[N].protocol (on page 7-147)
lan.trigger[N].disconnect()
This function disconnects the LAN trigger.
Type TSP-Link accessible
Affected by Where saved Default value
Usage
lan.trigger[N].disconnect()
The LAN event number (1 to 8)
Details
For TCP connections, this closes the TCP connection.
The LAN trigger automatically disconnects when either the lan.trigger[N].protocol or
lan.trigger[N].ipaddress attributes for this event are changed.
Also see
lan.trigger[N].ipaddress (on page 7-144)
lan.trigger[N].protocol (on page 7-147)