Section 7: TSP command reference
Series 2600B System SourceMeter® Instrument Reference Manual
7-22
2600BS-901-01 Rev. B / May 2013
bufferVar.fillmode
This attribute sets the reading buffer fill mode.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
Not applicable
See
Details
0 (smuX.FILL_ONCE)
Usage
fillMode
=
bufferVar
.fillmode
bufferVar
.fillmode =
fillMode
fillMode
The reading buffer fill mode; set to one of the following:
•
0
or
smu
X
.FILL_ONCE
: Do not overwrite old data
•
1
or
smu
X
.FILL_WINDOW
: New readings restart at index 1 after acquiring reading at
index
bufferVar
.fillcount
bufferVar
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
smu
X
.FILL_ONCE
, the reading buffer will not overwrite readings. If the buffer fills up,
new readings will be discarded.
When this attribute is set to
smu
X
.FILL_WINDOW
, new readings will be added after existing data until the buffer
holds
bufferVar
.fillcount
elements. Continuing the sequence, the next reading will overwrite the reading
at index 1, the reading after that will overwrite 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 (source-measure unit (SMU)
channel A) to fill once (do not
overwrite old data).
Also see
bufferVar.fillcount
Reading buffers
(on page 3-6)
bufferVar.measurefunctions
This attribute contains the measurement function that was used to acquire a reading stored in a specified reading
buffer.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (R)
Yes
Clearing the buffer
See
Details
Not applicable
Содержание System SourceMeter 2601B
Страница 841: ......