Section 9: TSP command reference Series 2600B System SourceMeter® instrument Reference Manual
9-18 2600BS-901-01 Rev. F/August 2021
bufferVar.basetimestamp
This attribute contains the timestamp that indicates when the first reading was stored in the buffer.
Usage
basetime = bufferVar.basetimestamp
The timestamp of the first stored reading
The reading buffer; can be a dynamically allocated buffer (user-defined), or a
dedicated reading buffer (such as smua.nvbuffer1)
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 smuX.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 3-1)
smuX.measure.overlappedY() (on page 9-229)
smuX.measure.Y() (on page 9-233)
smuX.nvbufferY (on page 9-235)
smuX.trigger.measure.Y() (on page 9-268)