Section 8: TSP command reference
Model 2461 Interactive SourceMeter® Instrument Reference Manual
8-252
2461-901-01 A/November 2015
trigger.lanout[N].connect()
This function prepares the event generator for outgoing trigger events.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
trigger.lanout[
N
].connect()
N
The LAN event number (1 to 8)
Details
This command prepares the event generator to send event messages. For TCP connections, this
opens the TCP connection.
The event generator automatically disconnects when either the protocol or IP address for this event is
changed.
Example
trigger.lanout[1].protocol = lan.PROTOCOL_MULTICAST
trigger.lanout[1].connect()
trigger.lanout[1].assert()
Set the protocol for LAN trigger 1 to be multicast when sending LAN triggers. Then, after connecting the LAN
trigger, send a message on LAN trigger 1 by asserting it.
Also see
(on page 8-249)
(on page 8-250)
(on page 8-251)
(on page 8-254)
(on page 8-255)
(on page 8-256)
trigger.lanout[N].connected
This attribute contains 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
= trigger.lanout[
N
].connected
connected
The LAN event connection state:
•
true
: Connected
•
false
: Not connected
N
The LAN event number (1 to 8)