Section 7: TSP command reference  Model 2657A High Power System SourceMeter® Instrument Reference Manual
 
7-128  2657A-901-01 Rev. B/December 2012 
 
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: 
false 
Also see 
lan.trigger[N].connect() (on page 7-127) 
lan.trigger[N].ipaddress
 (on page 7-129) 
lan.trigger[N].protocol
 (on page 7-131) 
 
lan.trigger[N].disconnect() 
This function disconnects the LAN trigger. 
Type  TSP-Link accessible 
Affected by  Where saved  Default value 
Function Yes 
 
 
Usage 
lan.trigger[N].disconnect() 
 
N 
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-129) 
lan.trigger[N].protocol
 (on page 7-131) 
 
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 
 
N 
The LAN event number (1 to 8)