
Model 2461 Interactive SourceMeter® Instrument Reference Manual
Section 8: TSP command reference
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:
false
Also see
(on page 8-252)
(on page 8-254)
(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
Function
Yes
Usage
trigger.lanout[
N
].disconnect()
N
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
(on page 8-254)
(on page 8-255)