Section 7: TSP command reference
Series 2600B System SourceMeter® Instrument Reference Manual
7-130
2600BS-901-01 Rev. B / May 2013
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
lan.trigger[N].assert()
(on page 7-128)
lan.trigger[N].ipaddress
(on page 7-132)
lan.trigger[N].overrun
(on page 7-134)
lan.trigger[N].protocol
(on page 7-134)
lan.trigger[N].stimulus
(on page 7-135)
lan.trigger[N].wait()
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)
Summary of Contents for System SourceMeter 2601B
Page 841: ......