Section 9: TSP command reference Series 2600B System SourceMeter® instrument Reference Manual
9-36 2600BS-901-01 Rev. F/August 2021
For dedicated reading buffers, all buffer attributes are saved to nonvolatile memory only when the
reading buffer is saved to nonvolatile memory.
Example
smua.nvbuffer1.timestampresolution = 0.000008
Sets the timestamp resolution of
dedicated reading buffer 1 to 8 μs.
Also see
bufferVar.clear() (on page 9-21)
bufferVar.collecttimestamps (on page 9-23)
bufferVar.timestamps (on page 9-36)
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)
bufferVar.timestamps
When enabled by the bufferVar.collecttimestamps attribute, this attribute contains the timestamp when
each reading saved in the specified reading buffer occurred.
Usage
timestamp = bufferVar.timestamps[N]
The complete timestamp (including date, time, and fractional seconds) of reading
number N in the specified reading buffer when the reading was acquired
The reading buffer; can be a dynamically allocated user-defined buffer or a dedicated
reading buffer
The reading number (1 to bufferVar.n)
Details
The bufferVar.timestamps information from a reading buffer is only available if the
bufferVar.collecttimestamps attribute is set to 1 (default setting). If it is set to 0, you cannot
access any time information from a reading buffer.
If enabled, this buffer recall attribute is like an array (a Lua table) that contains timestamps, in
seconds, of when each reading occurred. These are relative to the bufferVar.basetimestamp for
the buffer.
For dedicated reading buffers, all buffer attributes are saved to nonvolatile memory only when the
reading buffer is saved to nonvolatile memory.
Example
timestamp = smua.nvbuffer1.timestamps[1]
Get the timestamp of the first reading stored
in source-measure unit (SMU) A, buffer 1.