Section 7: Command reference
Model 2651A High Power System SourceMeter® Instrument Reference Manual
7-124
2651A-901-01 Rev. A / March 2011
lan.trigger[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
lan.trigger[
N
].connect()
N
The LAN event number (1 to 8)
Details
Prepares the event generator to send event messages. For TCP connections, this opens the TCP connection.
The event generator automatically disconnects when either the
lan.trigger[
N
].protocol
or
lan.trigger[
N
].ipaddress
attributes for this event are changed.
Example
lan.trigger[1].protocol = lan.MULTICAST
lan.trigger[1].connect()
lan.trigger[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 7-126)
(on page 7-130)
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