2470 High Voltage SourceMeter Instrument Reference Manual
Section 14: TSP command reference
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
Function
Yes
Usage
trigger.lanout[
N
].disconnect()
N
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
(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
Power cycle
Configuration script
"0.0.0.0"
Usage
ipAddress
= trigger.lanout[
N
].ipaddress
trigger.lanout[
N
].ipaddress = "
ipAddress
"
ipAddress
The LAN address for this attribute as a string in dotted decimal notation
N
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
(on page 14-209)