Model 2601B-PULSE System SourceMeter Instrument Reference Manual Section 11: TSP command reference
2601B-PULSE-901-01A April 2020 11-19
Details
This read-only attribute contains the timestamp (in seconds) of the first reading stored in a buffer
(rb[1] stored in reading buffer rb). The timestamp is the number of seconds since 12:00 am
January 1, 1970 (UTC) that the measurement was performed and stored.
For dedicated reading buffers, all buffer attributes are saved to nonvolatile memory only when the
reading buffer is saved to nonvolatile memory.
See the smua.nvbufferY attribute for details on accessing dedicated reading buffers.
Example
basetime = smua.nvbuffer1.basetimestamp
print(basetime)
Read the timestamp for the first reading stored in dedicated reading buffer 1.
Output:
1.57020e+09
This output indicates that the timestamp is 1,570,200,000 seconds (which is Friday, October, 4, 2019 at
14:40:00 pm).
Also see
Reading buffers (on page 5-1)
smua.measure.overlappedY() (on page 11-205)
smua.measure.Y() (on page 11-209)
smua.nvbufferY (on page 11-211)
smua.trigger.measure.Y() (on page 11-251)
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.