Series 3700A System Switch/Multimeter Reference Manual Section 11: TSP command reference
3700AS-901-01 Rev. D/June 2018 11-19
bufferVar.cachemode
This attribute enables or disables the reading buffer cache (on or off).
Clearing the buffer cache
Instrument reset
Recall setup
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)
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. 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
Enables reading buffer cache.
Also see
bufferVar.clearcache() (on page 11-22)
Reading buffers (on page 6-7, on page 6-1)
bufferVar.capacity
This attribute contains the number of readings a buffer can store.
Instrument reset
Recall setup
Create configuration script
Save setup
Usage
bufferCapacity = bufferVar.capacity
The maximum number of readings the buffer can store
Details
This read-only attribute reads the number of readings that can be stored in the buffer.