2470 High Voltage SourceMeter Instrument Reference Manual
Section 14: TSP command reference
2470-901-01 Rev. A /
May
2019
14-9
Example
buffer.clearstats()
Clears statistics for
defbuffer1
.
buffer.clearstats(testData)
Clears statistics for
testData
.
Also see
(on page 14-10)
buffer.delete()
This function deletes a user-defined reading buffer.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
buffer.delete(
bufferName
)
bufferName
The name of a user-defined reading buffer
Details
You cannot delete the default reading buffers,
defbuffer1
and
defbuffer2
.
Example
buf400 = buffer.make(400)
smu.measure.read(buf400)
printbuffer(1, buf400.n, buf400.relativetimestamps)
buffer.delete(buf400)
Create a 400-element reading buffer named
buf400
.
Make measurements and store the readings in
buf400
.
Print the relative timestamps for each reading in the buffer.
Example output, assuming five readings are stored in the buffer:
0, 0.412850017, 0.821640085, 1.230558058, 1.629523236
Delete
buf400
.
Also see
(on page 14-12)
(on page 14-18)
(on page 14-100)
(on page 6-25)