8: TSP command reference Model DMM7510 7½ Digit Graphical Sampling Multimeter
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
Usage
trigger.lanout[N].connect()
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
trigger.lanin[N].overrun (on page 8-275)
trigger.lanin[N].wait() (on page 8-276)
trigger.lanout[N].assert() (on page 8-276)
trigger.lanout[N].ipaddress (on page 8-280)
trigger.lanout[N].protocol (on page 8-281)
trigger.lanout[N].stimulus (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
The LAN event connection state:
• true: Connected
•
: Not connected
The LAN event number (1 to 8)