High Voltage SourceMeter Instrument Reference Manual Section 14:
2470-901-01 Rev. A / May 2019 14-211
trigger.lanout[N].disconnect()
This function disconnects the LAN trigger event generator.
Type TSP-Link accessible
Affected by Where saved Default value
Usage
trigger.lanout[N].disconnect()
The LAN event number (1 to 8)
Details
When this command is set for TCP connections, this closes the TCP connection.
The LAN trigger automatically disconnects when either the trigger.lanout[N].protocol or
trigger.lanout[N].ipaddress attributes for this event are changed.
Also see
trigger.lanout[N].ipaddress (on page 14-211)
trigger.lanout[N].protocol (on page 14-212)
trigger.lanout[N].ipaddress
This attribute specifies the address (in dotted-decimal format) of UDP or TCP listeners.
Type TSP-Link accessible Affected by Where saved Default value
Attribute (RW) Yes Restore configuration
Instrument reset
Configuration script "0.0.0.0"
Usage
ipAddress = trigger.lanout[N].ipaddress
trigger.lanout[N].ipaddress = "ipAddress"
The LAN address for this attribute as a string in dotted decimal notation
The LAN event number (1 to 8)
Details
Sets the IP address for outgoing trigger events.
After you change this setting, you must send the connect command before outgoing messages can
be sent.
Example
trigger.lanout[3].protocol = lan.PROTOCOL_TCP
trigger.lanout[3].ipaddress = "192.0.32.10"
trigger.lanout[3].connect()
Set the protocol for LAN trigger 3 to be TCP
when sending LAN triggers.
Use IP address "192.0.32.10" to connect
Also see
trigger.lanout[N].connect() (on page 14-209)