7½ Digit Graphical Sampling Multimeter Reference Manual Section 8:
DMM7510-901-01 Rev. B / May 2015 8-23
Details
This command allows you to change or view how many readings a buffer can store. Changing the
size of a buffer will cause any existing data in the buffer to be lost.
The overall capacity of all buffers stored in the instrument cannot exceed 11,000,000 readings for
standard reading buffers and 27,500,000 for compact reading buffers. For more information about
buffer capacity, see Setting reading buffer capacity (on page 3-18
).
Example
testData = buffer.make(500)
capTest = buffer.make(300)
bufferCapacity = capTest.capacity
print(bufferCapacity)
print(testData.capacity)
testData.capacity = 600
print(testData.capacity)
print(defbuffer1.capacity)
Create two user-defined reading buffers: testData and
capTest.
Create a variable called bufferCapacity to hold the
capacity of the capTest buffer.
Print bufferCapacity.
Output:
300
Print the capacity of testData.
Output:
500
Changes the capacity of testData to 600.
Print the capacity of testData.
Output:
600
Print the capacity of the default buffer defbuffer1.
Output:
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)