Lan.trigger[N].Disconnect() - Keithley 2651A Reference Manual

High power system sourcemeter instrument
Hide thumbs Also See for 2651A:
Table of Contents

Advertisement

Model 2651A High Power System SourceMeter® Instrument Reference Manual
Usage
connected = lan.trigger[N].connected
connected
N
Details
This read-only attribute is set to true when the LAN trigger is connected and ready to send trigger events
following a successful lan.trigger[N].connect() command; if the LAN trigger is not ready to send trigger
events, this value is false.
This attribute is also false when either lan.trigger[N].protocol or lan.trigger[N].ipaddress
attributes are changed or the remote connection closes the connection.
Example
lan.trigger[1].protocol = lan.MULTICAST
print(lan.trigger[1].connected)
Also see
lan.trigger[N].connect()
lan.trigger[N].ipaddress
lan.trigger[N].protocol

lan.trigger[N].disconnect()

This function disconnects the LAN trigger.
Type
TSP-Link accessible
Function
Yes
Usage
lan.trigger[N].disconnect()
N
Details
For TCP connections, this closes the TCP connection.
The LAN trigger automatically disconnects when either the lan.trigger[N].protocol or
lan.trigger[N].ipaddress attributes for this event are changed.
Also see
lan.trigger[N].ipaddress
lan.trigger[N].protocol
2651A-901-01 Rev. A / March 2011
The LAN event connection state:
true: Connected
false: Not connected
The LAN event number (1 to 8)
(on page 7-124)
(on page 7-126)
(on page 7-129)
Affected by
The LAN event number (1 to 8)
(on page 7-126)
(on page 7-129)
Outputs true if connected, or false if not
connected.
Example output:
false
Where saved
Default value
Section 7: Command reference
7-125

Advertisement

Table of Contents
loading

Table of Contents