Series 2600B System SourceMeter® instrument Reference Manual Section 9: TSP command reference
2600BS-901-01 Rev. F/August 2021 9-23
Also see
bufferVar.clear() (on page 9-21)
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.action (on page 9-264)
smuX.trigger.measure.Y() (on page 9-268)
bufferVar.collecttimestamps
This attribute sets whether or not timestamp values are stored with the readings in the buffer.
Usage
state = bufferVar.collecttimestamps
bufferVar.collecttimestamps = state
Timestamp value collection status; set to one of the following:
â–ª 0: Timestamp value collection disabled (off)
â–ª 1: Timestamp value collection 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 storage of timestamps. Reading this
attribute returns the state of timestamp collection.
For dedicated reading buffers, all buffer attributes are saved to nonvolatile memory only when the
reading buffer is saved to nonvolatile memory.
When on, timestamp values are stored with readings in the buffer. This requires four extra bytes of
storage for each reading. Turning on additional collection items, such as timestamps (this attribute)
and source values, decreases the capacity of a dedicated reading buffer (for example,
smua.nvbuffer1), but does not change the capacity of a user-defined dynamically allocated buffer.
The state variable can only be changed when the buffer is empty. Empty the buffer using the
bufferVar.clear() function.
Example
smua.nvbuffer1.collecttimestamps = 1
Include timestamps with readings for
dedicated reading buffer 1.