Trigger.lanout[N].Disconnect() - Keithley 2450 Reference Manual

Interactive sourcemeter instrument
Table of Contents

Advertisement

Section 8: TSP command reference

trigger.lanout[N].disconnect()

This function disconnects the LAN trigger event generator.
Type
TSP-Link accessible
Function
Yes
Usage
trigger.lanout[N].disconnect()
N
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
trigger.lanout[N].protocol
trigger.lanout[N].ipaddress
This attribute specifies the address (in dotted-decimal format) of UDP or TCP listeners.
Type
TSP-Link accessible
Attribute (RW)
Yes
Usage
ipAddress = trigger.lanout[N].ipaddress
trigger.lanout[N].ipaddress = ipAddress
ipAddress
N
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()
Also see
trigger.lanout[N].connect()
8-182
Model 2450 Interactive SourceMeter® Instrument Reference Manual
Affected by
The LAN event number (1 to 8)
(on page 8-182)
(on page 8-183)
Affected by
Restore configuration
Instrument reset
Power cycle
LAN trigger N reset
The LAN address for this attribute as a string in dotted decimal notation
The LAN event number (1 to 8)
(on page 8-180)
Where saved
Default value
Where saved
Configuration script
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.
2450-901-01 Rev. B/September 2013
Default value
"0.0.0.0"

Advertisement

Table of Contents
loading

Table of Contents