EasyManuals Logo
Home>Keithley>Measuring Instruments>2651A

Keithley 2651A Reference Manual

Keithley 2651A
800 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 #674 background imageLoading...
Page #674 background image
Section 7: Command reference Model 2651A High Power System SourceMeter® Instrument Reference Manual
7-366 2651A-901-01 Rev. A / March 2011
Also see
tspnet.connect() (on page 7-361)
tspnet.readavailable()
(on page 7-366)
tspnet.timeout
(on page 7-368)
tspnet.write()
(on page 7-371)
tspnet.readavailable()
This function checks to see if data is available from the remote device.
Type TSP-Link accessible
Affected by Where saved Default value
Function Yes
Usage
bytesAvailable = tspnet.readavailable(connectionID)
bytesAvailable
The number of bytes available to be read from the connection
connectionID
The connection ID returned from tspnet.connect()
Details
This command checks to see if any output data is available from the device. No data is read from the instrument.
This allows TSP scripts to continue to run without waiting on a remote command to finish.
Example
ID = tspnet.connect("192.0.2.1")
tspnet.write(ID, "*idn?\r\n")
repeat
bytes = tspnet.readavailable(ID)
until bytes > 0
print(tspnet.read(ID))
tspnet.disconnect(ID)
Send commands that will create data.
Wait for data to be available.
Also see
tspnet.connect() (on page 7-361)
tspnet.read()
(on page 7-365)
tspnet.reset()
This function disconnects all TSP-Net sessions.
Type TSP-Link accessible
Affected by Where saved Default value
Function Yes

Table of Contents

Other manuals for Keithley 2651A

Questions and Answers:

Question and Answer IconNeed help?

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

Keithley 2651A Specifications

General IconGeneral
BrandKeithley
Model2651A
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals