Section 8: TSP command reference
Model DMM7510 7½ Digit Graphical Sampling Multimeter Reference Manual
8-278
DMM7510-901-01 Rev. B / May 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-275)
(on page 8-276)
(on page 8-276)
(on page 8-280)
(on page 8-281)
(on page 8-282)
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)