System SourceMeter® Instrument Reference Manual Section 7:
2600BS-901-01 Rev. B / May 2013 7-131
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
if connected, or
if not
connected.
Example output:
Also see
lan.trigger[N].connect() (on page 7-130)
lan.trigger[N].ipaddress (on page 7-132)
lan.trigger[N].protocol (on page 7-134)
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-132)
lan.trigger[N].protocol (on page 7-134)
lan.trigger[N].EVENT_ID
This constant is the event identifier used to route the LAN trigger to other subsystems (using stimulus properties).
Type TSP-Link accessible
Affected by Where saved Default value
Constant Yes
Usage
lan.trigger[N].EVENT_ID
The LAN event number (1 to 8)