
Section 11: TSP command reference
Series 3700A System Switch/Multimeter Reference Manual
11-36
3700AS-901-01 Rev. D/June 2018
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
Affected by
Where saved
Default value
Attribute (R)
Yes
Buffer storage settings
Clearing the buffer
Instrument reset
Recall setup
USB flash drive using
dmm.savebuffer or
dmm.appendbuffer
Not applicable
Usage
timestamp
=
bufferVar
.timestamps[
N
]
timestamp
The complete timestamp (including date, time, and fractional seconds) of reading
number
N
in the specified reading buffer when the reading was acquired
bufferVar
The reading buffer
N
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.
Example
printbuffer(1, 6, buffer1.timestamps)
Print the timestamp of the first 6 readings
stored in buffer 1.
Example output:
07/11/2011 09:14:48.509762161,
07/11/2011 09:14:48.528708001,
07/11/2011 09:14:48.547659196,
07/11/2011 09:14:48.566612446,
07/11/2011 09:14:48.585565606,
07/11/2011 09:14:48.681325966
Also see
(on page 11-21)
(on page 11-24)
(on page 11-28)
(on page 11-29)
(on page 11-33)