2600AS-901-01 Rev. B / September 2008 Return to Section Topics 19-227
Series 2600A System SourceMeter® Instruments Reference Manual Section 19: Remote Commands
tspnet.readavailable
Function Read the number of bytes waiting to be read.
TSP-Link
accessibility
This function can be accessed from a remote TSP-Link node.
Usage num_bytes = tspnet.readavailable(connection_id)
connection_id Integer value used as a handle for other tspnet
commands.
num_bytes The number of bytes available.
Remarks • This command checks to see if any data is available from the remote instrument. No data is
read. It is intended to allow TSP
TM
scripts to continue to run without waiting on a remote
command to finish.
• Errors:
Invalid Specified Connection
Read Failed
Example x = tspnet.readavailable(myconnection)