Section 8: TSP command reference
Model DMM7510 7½ Digit Graphical Sampling Multimeter Reference Manual
8-28
DMM7510-901-01 Rev. B / May 2015
bufferVar.fillmode
This attribute determines if a reading buffer is filled continuously or is filled once and stops.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
Restore configuration
Instrument reset
Power cycle
Configuration script
User-defined buffer:
buffer.FILL_ONCE (0)
defbuffer1:
buffer.FILL_CONTINUOUS (1)
defbuffer2:
buffer.FILL_CONTINUOUS (1)
Usage
fillMode
=
bufferVar
.fillmode
bufferVar
.fillmode =
fillMode
fillMode
Fill the buffer, then stop:
buffer.FILL_ONCE
or
0
Fill the buffer continuously:
buffer.FILL_CONTINUOUS
or
1
bufferVar
The name of the reading buffer, which may be a default buffer (
defbuffer1
or
defbuffer2
) or a user-defined buffer
Details
When a reading buffer is set to fill once, no data is overwritten in the buffer. When the buffer is filled,
no more data is stored in that buffer and new readings are discarded.
When a reading buffer is set to fill continuously, the oldest data is overwritten by the newest data after
the buffer fills.
When you change the fill mode of a buffer, any data in the buffer is cleared.
Example
reset()
testData = buffer.make(50)
print(testData.fillmode)
testData.fillmode = buffer.FILL_CONTINUOUS
print(testData.fillmode)
Create a reading buffer named
testData
the fill mode setting for the
testData
buffer.
Output:
0
Set fill mode to continuous.
Print the fill mode setting for the
testData
buffer.
Output:
1
Also see
(on page 8-16)
(on page 8-18)
(on page 8-24)
(on page 8-231)
(on page 8-232)
(on page 3-13)
(on page 3-30)