Buffervar.timestamps - Keithley 3700A Series Reference Manual

System switch/multimeter
Hide thumbs Also See for 3700A Series:
Table of Contents

Advertisement

Section 11: TSP command reference

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.
Example
printbuffer(1, 6, buffer1.timestamps)
Also see
bufferVar.clear()
bufferVar.collecttimestamps
bufferVar.n
(on page 11-28)
bufferVar.readings
bufferVar.statuses
Reading buffers
11-36
Affected by
Buffer storage settings
Clearing the buffer
Instrument reset
Recall setup
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
The reading number (1 to bufferVar.n)
(on page 11-21)
(on page 11-24)
(on page 11-29)
(on page 11-33)
(on page 6-7, on page 6-1)
Series 3700A System Switch/Multimeter Reference Manual
Where saved
USB flash drive using
dmm.savebuffer or
dmm.appendbuffer
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
3700AS-901-01 Rev. D/June 2018
Default value
Not applicable

Advertisement

Table of Contents
loading

Table of Contents