Buffervar.clearcache() - Keithley 2651A Reference Manual

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

Advertisement

Section 7: Command reference
Example
smua.nvbuffer1.clear()
Also see
smuX.nvbufferY
Reading buffers

bufferVar.clearcache()

This function clears the cache.
Type
TSP-Link accessible
Function
Yes
Usage
bufferVar.clearcache()
bufferVar
Details
This function clears all readings from the specified cache.
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. Watch for this when
running test script language (TSL) code remotely on more than one node, because values in the
reading buffer cache may change while the TSL code is running.
overwriting data in the reading buffer by setting the bufferVar.fillmode attribute to
smuX.FILL_WINDOW.
To avoid this, you can include explicit calls to the bufferVar.clearcache() function to remove stale values
from the reading buffer cache.
Example
smua.nvbuffer1.clearcache()
Also see
bufferVar.fillmode
smuX.nvbufferY
Reading buffers
Removing stale values from the reading buffer
7-20
Model 2651A High Power System SourceMeter® Instrument Reference Manual
(on page 7-208)
(on page 3-6)
Affected by
The reading buffer; can be a dynamically allocated buffer (user-defined), or a
dedicated reading buffer (such as smua.nvbuffer1)
(on page 7-23)
(on page 7-208)
(on page 3-6)
Clears dedicated reading buffer 1.
Where saved
Clears the dedicated reading buffer 1.
cache.
(on page 6-60)
Default value
2651A-901-01 Rev. A / March 2011

Advertisement

Table of Contents
loading

Table of Contents