Section 7: Command reference
Model 2651A High Power System SourceMeter® Instrument Reference Manual
7-24
2651A-901-01 Rev. A / March 2011
bufferVar.n
This attribute contains the number of readings in the buffer.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (R)
Yes
Not applicable
Not saved
Not applicable
Usage
numberOfReadings
=
bufferVar
.n
numberOfReadings
The number of readings stored in the buffer
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 number of readings presently stored in the buffer.
Example
numberOfReadings = smua.nvbuffer1.n
print(numberOfReadings)
Reads the number of readings stored in
dedicated reading buffer 1.
Output:
1.02
The above output indicates that there are 125
readings stored in the buffer.
Also see
(on page 7-201)
(on page 7-238)
(on page 3-6)
bufferVar.timestampresolution
This attribute contains the timestamp's resolution.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
Not applicable
Not applicable
1e-6
Usage
resolution
=
bufferVar
.timestampresolution
bufferVar
.timestampresolution =
resolution
resolution
Timestamp resolution in seconds
bufferVar
The reading buffer; this can be a dynamically allocated buffer (user-defined), or a
dedicated reading buffer (such as
smua.nvbuffer1
)