Series 2600B System SourceMeter® Instrument Reference Manual
Section 7: TSP command reference
2600BS-901-01 Rev. C / August 2016
7-35
Details
Assigning a value to this attribute sets the resolution for the timestamps. Reading this attribute returns
the timestamp resolution value. This value can only be changed with an empty buffer. Empty the
buffer using the
bufferVar
.clear()
function.
The finest timestamp resolution is 0.000001 seconds (1
μs). At this resolution, the reading buffer can
store unique timestamps for up to 71 minutes. This value can be increased for very long tests.
The value specified when setting this attribute will be rounded to an even power of 2 μs.
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
(source-measure unit (SMU)
channel A) to 8
μs.
Also see
(on page 7-20)
(on page 7-22)
(on page 7-231)
(on page 7-264)
bufferVar.timestamps
When enabled by the
bufferVar
.collecttimestamps
attribute, this attribute contains the timestamp (in
seconds) of when each reading saved in the specified reading buffer occurred.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (R)
Yes
Clearing the buffer
See
Details
Not applicable
Usage
timestamp
=
bufferVar
.timestamps[
N
]
timestamp
The timestamp of reading number
N
in the specified buffer when the reading was
acquired
bufferVar
The reading buffer; can be a dynamically allocated user-defined buffer or a
dedicated reading buffer
N
The reading number (
1
to
bufferVar
.n
)