Series 2600B System SourceMeter® instrument Reference Manual Section 9: TSP command reference
2600BS-901-01 Rev. F/August 2021 9-25
bufferVar.fillmode
This attribute sets the reading buffer fill mode.
Usage
fillMode = bufferVar.fillmode
bufferVar.fillmode = fillMode
The reading buffer fill mode; set to one of the following:
â–ª 0 or smuX.FILL_ONCE: Do not overwrite old data
â–ª 1 or smuX.FILL_WINDOW: New readings restart at index 1 after acquiring
reading at index bufferVar.fillcount
The reading buffer; can be a dynamically allocated buffer (user-defined), or a
dedicated reading buffer (such as smua.nvbuffer1)
Details
When this attribute is set to smuX.FILL_ONCE, the reading buffer does not overwrite readings. If the
buffer fills up, new readings are discarded.
When this attribute is set to smuX.FILL_WINDOW, new readings are added after existing data until
the buffer holds bufferVar.fillcount elements. Continuing the sequence, the next reading
overwrites the reading at index 1, the reading after that overwrites the reading at index 2, and so on.
For dedicated reading buffers, all buffer attributes are saved to nonvolatile memory only when the
reading buffer is saved to nonvolatile memory.
Example
smua.nvbuffer1.fillmode = smua.FILL_ONCE
Sets fill mode of dedicated reading buffer 1 to fill once (do not overwrite old data).
Also see
bufferVar.fillcount (on page 9-24)
Reading buffers (on page 3-1)
bufferVar.measurefunctions
This attribute contains the measurement function that was used to acquire a reading stored in a specified
reading buffer.