8: TSP command reference Model 2450 Interactive SourceMeter® Instrument
8-182 2450-901-01 Rev. B/September 2013
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 8-182)
trigger.lanout[N].protocol (on page 8-183)
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
Instrument reset
Power cycle
LAN trigger N reset
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
Also see
trigger.lanout[N].connect() (on page 8-180)