Series 2600B System SourceMeter® instrument Reference Manual Section 9: TSP command reference
2600BS-901-01 Rev. F/August 2021 9-19
bufferVar.cachemode
This attribute enables or disables the reading buffer cache (on or off).
Usage
cacheMode = bufferVar.cachemode
bufferVar.cachemode = cacheMode
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 user-defined buffer or a
dedicated reading buffer
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 that you 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
Enables reading buffer cache of dedicated reading buffer 1
(source-measure unit (SMU) channel A).
Also see
bufferVar.clearcache() (on page 9-21)
bufferVar.fillmode (on page 9-25)
Reading buffers (on page 3-1)