EasyManuals Logo

Keithley 2657A User Manual

Keithley 2657A
805 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #673 background imageLoading...
Page #673 background image
Section 7: TSP command reference Model 2657A High Power System SourceMeter® Instrument Reference Manual
7-360 2657A-901-01 Rev. B/December 2012
Example 1
instrumentID = tspnet.connect("192.0.2.1")
if instrumentID then
-- Use instrumentID as needed here
tspnet.disconnect(instrumentID)
end
Connect to a TSP-enabled
device.
Example 2
instrumentID = tspnet.connect("192.0.2.1", 1394,
"*rst\r\n")
if instrumentID then
-- Use instrumentID as needed here
tspnet.disconnect(instrumentID)
end
Connect to a device that is
not TSP-enabled.
Also see
localnode.prompts (on page 7-137)
localnode.showerrors
(on page 7-141)
tspnet.tsp.abortonconnect
(on page 7-366)
tspnet.disconnect()
(on page 7-360)
tspnet.disconnect()
This function disconnects a specified TSP-Net session.
Type TSP-Link accessible
Affected by Where saved Default value
Function Yes
Usage
tspnet.disconnect(connectionID)
connectionID
The connection ID returned from tspnet.connect()
Details
This function disconnects the two devices by closing the connection. The connectionID is the session handle
returned by tspnet.connect().
For TSP-enabled devices, this aborts any remotely running commands or scripts.
Example
testID = tspnet.connect("192.0.2.0")
-- Use the connection
tspnet.disconnect(testID)
Create a TSP-Net session.
Close the session.
Also see
tspnet.connect() (on page 7-359)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Keithley 2657A and is the answer not in the manual?

Keithley 2657A Specifications

General IconGeneral
BrandKeithley
Model2657A
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals