Section 7: TSP command reference
Series 2600B System SourceMeter® Instrument Reference Manual
7-16
2600BS-901-01 Rev. B / May 2013
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
(source-measure unit (SMU) channel A).
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
Reading buffers
(on page 3-6)
smuX.measure.overlappedY()
(on page 7-209)
smuX.measure.Y()
(on page 7-213)
smuX.nvbufferY
smuX.trigger.measure.Y()
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
Содержание System SourceMeter 2601B
Страница 841: ......