![background image](http://html2.mh-extra.com/html/keithley/2657a/2657a_reference-manual_4007750330.webp)
Model 2657A High Power System SourceMeter® Instrument Reference Manual
Section 7: TSP command reference
2657A-901-01 Rev. B/December 2012
7-17
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.
Example
basetime = smua.nvbuffer1.basetimestamp
print(basetime)
Read the timestamp for the first reading
stored in dedicated reading buffer 1.
Output:
1.09
This output indicates that the timestamp is
1,283,000,000 seconds (which is Saturday,
August 28, 2010 at 12:53:20 PM).
Also see
(on page 3-6)
(on page 7-204)
(on page 7-238)
bufferVar.cachemode
This attribute enables or disables the reading buffer cache (on or off).
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
Not applicable
Not saved
1 (enabled)
Usage
cacheMode
=
bufferVar
.cachemode
bufferVar
.cachemode =
cacheMode
cacheMode
The reading buffer cache mode; set to one of the following:
•
0
: Cache mode disabled (off)
•
1
: Cache mode enabled (on)
bufferVar
The reading buffer; can be a dynamically allocated user-defined buffer or a
dedicated reading buffer
Содержание 2657A
Страница 3: ......