Buffervar.clear() - Keithley 2651A Reference Manual

High power system sourcemeter instrument
Hide thumbs Also See for 2651A:
Table of Contents

Advertisement

Model 2651A High Power System SourceMeter® Instrument Reference Manual
Usage
maxNumber = bufferVar.capacity
maxNumber
bufferVar
Details
This read-only attribute reads the number of readings that can be stored in the buffer.
The buffer's capacity does not change as readings fill the buffer. A dedicated reading buffer that only collects
basic items can store over 140,000 readings. Turning on additional collection items, such as timestamps and
source values, decreases the capacity of a dedicated reading buffer (for example, smua.nvbuffer1), but does
not change the capacity of a user-defined dynamically allocated buffer. A user-defined dynamically allocated
buffer has a fixed capacity that is set when the buffer is created.
See the smuX.nvbufferY attribute for details on accessing dedicated reading buffers. See the
smuX.makebuffer() function for information on creating user-defined dynamically allocated reading buffers.
Example
maxNumber = smua.nvbuffer1.capacity
print(capacity)
Also see
smuX.makebuffer()
smuX.measure.overlappedY()
smuX.measure.Y()
smuX.nvbufferY
smuX.trigger.measure.Y()
Reading buffers

bufferVar.clear()

This function clears the buffer.
Type
TSP-Link accessible
Function
Yes
Usage
bufferVar.clear()
bufferVar
Details
This function clears all readings from the specified buffer.
2651A-901-01 Rev. A / March 2011
The maximum number of readings the buffer can store
The reading buffer; can be a dynamically allocated buffer (user-defined), or a
dedicated reading buffer (such as smua.nvbuffer1)
(on page 7-189)
(on page 7-201)
(on page 7-205)
(on page 7-208)
(on page 7-238)
(on page 3-6)
Affected by
The reading buffer; this can be a dynamically allocated buffer (user defined), or a
dedicated reading buffer (such as smua.nvbuffer1)
Reads the capacity of dedicated reading
buffer 1.
Output: 1.49789e+05
The above output indicates that the buffer
can hold 149789 readings.
Where saved
Default value
Section 7: Command reference
7-19

Advertisement

Table of Contents
loading

Table of Contents