Section 8: TSP command reference
Model DMM7510 7½ Digit Graphical Sampling Multimeter Reference Manual
8-16
DMM7510-901-01 Rev. B / May 2015
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)
dmm.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-18)
(on page 8-24)
(on page 8-232)
(on page 3-13)
(on page 3-30)
buffer.getstats()
This function returns statistics from a specified reading buffer.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
buffer.getstats()
buffer.getstats(
bufferVar
)
statsVar
= buffer.getstats(
bufferVar
)
bufferVar
The name of the reading buffer, which may be a default buffer (
defbuffer1
or
defbuffer2
) or a user-defined buffer; if no buffer is specified, this parameter
defaults to
defbuffer1
statsVar
A table with the following entries:
n
,
min
,
max
,
mean
, and
stddev
; see
Details
for
information on the entries