
Model 2450 Interactive SourceMeter® Instrument Reference Manual
Section 8: TSP command reference
2450-901-01 Rev. B/September 2013
8-19
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: 0
defbuffer1: 1
defbuffer2: 1
Usage
fillMode
=
bufferVar
.fillmode
bufferVar
.fillmode =
fillMode
fillMode
Fill the buffer, then stop:
0
or
buffer.FILL_ONCE
Fill the buffer continuously:
1
or
buffer.FILL_CONTINUOUS
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
buffer.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
buffer.FILL_CONTINUOUS
, the oldest data is overwritten by the newest data
after the buffer fills.
When a reading buffer is set to
buffer.FILL_CONTINUOUS
, the first new measurement is stored at
n
+1
, where
n
is the number of readings stored in the buffer.