Tektronix KEITHLEY SourceMeter 2606B Reference Manual page 765

Table of Contents

Advertisement

Section 15: TSP command reference
tspnet.clear()
This function clears any pending output data from the instrument.
Type
TSP-Link accessible
Function
No
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(testdevice, "print([[hello]])")
print(tspnet.readavailable(testdevice))
tspnet.clear(testdevice)
print(tspnet.readavailable(testdevice))
Write data to a device, then print how much is available.
Output:
6.00000e+00
Clear data and print how much data is available again.
Output:
0.00000e+00
Also see
tspnet.connect()
tspnet.readavailable()
tspnet.write()
15-392
Affected by
The connection ID returned from tspnet.connect()
(on page 15-393)
(on page 15-398)
(on page 15-404)
Model 2606B System SourceMeter® Instrument Reference Manual
Where saved
2606B-901-01 Rev. C November 2021
Default value

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the KEITHLEY SourceMeter 2606B and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents