Model 2461 Interactive SourceMeter® Instrument Reference Manual
Section 8: TSP command reference
2461-901-01 A/November 2015
8-11
Example
buffer.clearstats()
Clears statistics for
defbuffer1
.
buffer.clearstats(testData)
Clears statistics for
testData
.
Also see
(on page 8-12)
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 8-14)
(on page 8-19)
(on page 8-93)
(on page 3-2)
(on page 3-23)