8: TSP command reference Model 2461 Interactive SourceMeter® Instrument
8-254 2461-901-01 A/November 2015
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
the LAN trigger.
Also see
trigger.lanout[N].connect() (on page 8-252)