Series 3700A System Switch/Multimeter Reference Manual
Section 11: TSP command reference
3700AS-901-01 Rev. D/June 2018
11-275
lan.trigger[N].connected
This attribute stores the LAN event connection state.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (R)
Yes
Not applicable
Not applicable
Not applicable
Usage
connected
= lan.trigger[
N
].connected
connected
The LAN event connection state:
▪
true
: Connected
▪
false
: Not connected
N
The LAN event number (1 to 8)
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
(on page 11-277)
(on page 11-279)