Tspnet.clear() - Keithley 708B Reference Manual

Switching matrix
Hide thumbs Also See for 708B:
Table of Contents

Advertisement

Section 7: Command reference

tspnet.clear()

This function clears any pending output data from the instrument.
Type
TSP-Link accessible
Function
Yes
Usage
tspnet.clear(connectionID)
connectionID
Details
This function clears any pending output data from the device. No data is returned to the caller and no data is
processed.
Example
tspnet.write(mydevice, "print([[hello]])")
print(tspnet.readavailable(mydevice))
tspnet.clear(mydevice)
print(tspnet.readavailable(mydevice))
Also see
tspnet.connect()
tspnet.readavailable()
tspnet.write()
7-228
Affected by
The connection ID returned from tspnet.connect()
(on page 7-229)
(on page 7-233)
(on page 7-240)
Models 707B and 708B Switching Matrix Reference Manual
Where saved
Default value
Write data to device, print how much is
available.
Output:
6.0000000e+000
Clear data and print how much data is
available again.
Output:
0.0000000e+000
707B-901-01 Rev. A / August 2010

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

707b

Table of Contents