Section 7: TSP command reference
2606B System SourceMeter® Instrument Reference Manual
7-16
2606B-901-01 Rev. B / May 2018
Details
Assigning a value to this attribute enables or disables the buffer append mode. This value can only be
changed with an empty buffer. Use
bufferVar
.clear()
to empty the buffer.
For dedicated reading buffers, all buffer attributes are saved to nonvolatile memory only when the
reading buffer is saved to nonvolatile memory.
If the append mode is set to
0
, any stored readings in the buffer are cleared before new ones are
stored. If append mode is set to
1
, any stored readings remain in the buffer and new readings are
added to the buffer after the stored readings.
With append mode on, the first new measurement is stored at
rb[
n
+1]
, where
n
is the number of
readings stored in buffer
rb
.
Example
buffer1.appendmode = 1
Append new readings to contents of the
reading buffer named
buffer1
.
Also see
(on page 7-19)
bufferVar.basetimestamp
This attribute contains the timestamp that indicates when the first reading was stored in the buffer.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (R)
Yes
Not applicable
See
Details
0
Usage
basetime
=
bufferVar
.basetimestamp
basetime
The timestamp of the first stored reading
bufferVar
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
smu
X
.nvbuffer
Y
attribute for details on accessing dedicated reading buffers.