Buffervar.cachemode; Buffervar.capacity - Keithley 2651A Reference Manual

High power system sourcemeter instrument
Hide thumbs Also See for 2651A:
Table of Contents

Advertisement

Section 7: Command reference
Also see
smuX.measure.overlappedY()
smuX.measure.Y()
smuX.nvbufferY
smuX.trigger.measure.Y()
Reading buffers

bufferVar.cachemode

This attribute enables or disables the reading buffer cache (on or off).
Type
TSP-Link accessible
Attribute (RW)
Yes
Usage
cacheMode = bufferVar.cachemode
bufferVar.cachemode = cacheMode
cacheMode
bufferVar
Details
Assigning a value to this attribute enables or disables the reading buffer cache. When enabled, the reading buffer
cache improves access speed to reading buffer data.
If you run successive operations that overwrite reading buffer data, the reading buffer may return stale cache
data. This can happen when initiating successive sweeps without reconfiguring the sweep measurements or
when overwriting data in the reading buffer by setting the bufferVar.fillmode attribute to
smuX.FILL_WINDOW. To avoid this, make sure to include commands that automatically invalidate the cache as
needed (for example, explicit calls to the bufferVar.clearcache() function) or disable the cache using this
attribute (bufferVar.cachemode).
Example
smua.nvbuffer1.cachemode = 1
Also see
bufferVar.clearcache()
bufferVar.fillmode

bufferVar.capacity

This attribute contains the capacity of the buffer.
Type
TSP-Link accessible
Attribute (R)
Yes
7-18
Model 2651A High Power System SourceMeter® Instrument Reference Manual
(on page 7-201)
(on page 7-205)
(on page 7-208)
(on page 7-238)
(on page 3-6)
Affected by
Not applicable
The reading buffer cache mode; set to one of the following:
0: Cache mode disabled (off)
1: Cache mode enabled (on)
The reading buffer; can be a dynamically allocated buffer (user-defined), or a
dedicated reading buffer (such as smua.nvbuffer1)
(on page 7-20)
(on page 7-23)
Affected by
Not applicable
Where saved
Default value
Not saved
1 (enabled)
Enables reading buffer cache of
dedicated reading buffer 1.
Where saved
Default value
Not saved
Not applicable
2651A-901-01 Rev. A / March 2011

Advertisement

Table of Contents
loading

Table of Contents