
Section 7: TSP command reference
Model 2657A High Power System SourceMeter® Instrument Reference Manual
7-22
2657A-901-01 Rev. B/December 2012
bufferVar.fillcount
This attribute sets the reading buffer fill count.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
Not applicable
See
Details
0
Usage
fillCount
=
bufferVar
.fillcount
bufferVar
.fillcount =
fillCount
fillCount
The reading buffer fill count
bufferVar
The reading buffer; can be a dynamically allocated buffer (user-defined), or a
dedicated reading buffer (such as
smua.nvbuffer1
)
Details
The reading buffer fill count sets the number of readings to store before restarting at index 1. If the value is zero
(0), then the capacity of the buffer is used. Use this attribute to control when the SMU restarts filling the buffer at
index 1, rather than having it restart when the buffer is full.
If the
bufferVar
.fillcount
attribute is set to a value higher than the capacity of the buffer, after storing the
element at the end of the buffer, the SMU will overwrite the reading at index 1, the reading after that will
overwrite the reading at index 2, and so on.
This attribute is only used when the
bufferVar
.fillmode
attribute is set to
smu
X
.FILL_WINDOW
.
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.fillcount = 50
Sets fill count of dedicated reading
buffer 1 to 50.
Also see
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
)
Summary of Contents for 2657A
Page 3: ......