Model 2651A High Power System SourceMeter® Instrument Reference Manual
bufferVar.timestamps
When enabled by the bufferVar.collecttimestamps attribute, this attribute contains the timestamp when
each reading saved in the specified reading buffer occurred.
Type
TSP-Link accessible
Attribute (R)
Yes
Usage
timestamp = bufferVar.timestamps[N]
timestamp
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]
Also see
bufferVar.clear()
bufferVar.collecttimestamps
bufferVar.measurefunctions
bufferVar.measureranges
bufferVar.n
(on page 7-29)
bufferVar.readings
bufferVar.sourcefunctions
bufferVar.sourceoutputstates
bufferVar.sourceranges
bufferVar.sourcevalues
bufferVar.statuses
Reading buffers
2651A-901-01 Rev. C October 2021
Affected by
Clearing the buffer
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)
(on page 7-22)
(on page 7-24)
(on page Error! Bookmark not defined.)
(on page 7-28)
(on page 7-30)
(on page 7-31)
(on page 7-32)
(on page 7-33)
(on page 7-34)
(on page 7-35)
(on page 3-6)
Section 7: TSP command reference
Where saved
Default value
See Details
Not applicable
Get the timestamp of the first reading stored
in dedicated reading buffer 1.
7-37
Need help?
Do you have a question about the Keithley 2651A and is the answer not in the manual?