8: TSP command reference Model DMM7510 7½ Digit Graphical Sampling Multimeter
8-18 DMM7510-901-01 Rev. B / May 2015
Example
defBufStats = buffer.getstats(defbuffer1)
print(defBufStats)
Assign the name defBufStats to the table.
Get statistics for the default reading buffer
named defbuffer1
Returns the defBufStats table with the
following entries in it:
n, min, max, mean, stddev
Also see
buffer.delete() (on page 8-16)
buffer.make() (on page 8-18)
bufferVar.clear() (on page 8-24)
print() (on page 8-231)
printbuffer() (on page 8-232)
Reading buffers (on page 3-13)
Remote buffer operation (on page 3-30)
buffer.make()
This function creates a user-defined reading buffer.
Type TSP-Link accessible
Affected by Where saved Default value
Function Yes
Usage
bufferVar = buffer.make(bufferSize)
bufferVar = buffer.make(bufferSize, style)
A user-supplied string that indicates the name of the buffer
The maximum number of readings that can be stored in bufferVar; minimum is
The type of reading buffer to create:
• Store readings with reduced accuracy (6.5 digits) with no formatting information,
1 μs accurate timestamp, maximum 27,500,000 readings:
buffer.STYLE_COMPACT
• Store readings with full accuracy with formatting, maximum 11,000,000 readings:
buffer.STYLE_STANDARD (default)
• Store the same information as standard, plus additional information, such as the
ratio component of a DCV ratio measurement: buffer.STYLE_FULL
• Store external reading buffer data: buffer.STYLE_WRITABLE
• Store external reading buffer data with two reading values:
buffer.STYLE_WRITABLE_FULL