Series 2600B System SourceMeter® instrument Reference Manual Section 9: TSP command reference
2600BS-901-01 Rev. F/August 2021 9-17
bufferVar.appendmode
This attribute sets the state of the append mode of the reading buffer.
Usage
state = bufferVar.appendmode
bufferVar.appendmode = state
The reading buffer append mode; set to one of the following:
â–ª 0: Append mode off; new measurement data overwrites the previous
buffer content
â–ª 1: Append mode on; appends new measurement data to the present
buffer content
The reading buffer; can be a dynamically allocated user-defined buffer or a dedicated
reading buffer
Details
Assigning a value to this attribute enables or disables the buffer append mode. This value can only be
changed with an empty buffer. Use bufferVar.clear() to empty the buffer.
For dedicated reading buffers, all buffer attributes are saved to nonvolatile memory only when the
reading buffer is saved to nonvolatile memory.
If the append mode is set to 0, any stored readings in the buffer are cleared before new ones are
stored. If append mode is set to 1, any stored readings remain in the buffer and new readings are
added to the buffer after the stored readings.
With append mode on, the first new measurement is stored at rb[n+1], where n is the number of
readings stored in buffer rb.
Example
Append new readings to contents of the reading buffer named
buffer1.
Also see
bufferVar.clear() (on page 9-21)
Reading buffers (on page 3-1)