System SourceMeter® Instrument Reference Manual Section 7:
2600BS-901-01 Rev. B / May 2013 7-197
smuX.makebuffer()
This function creates a reading buffer.
Type TSP-Link accessible
Affected by Where saved Default value
Usage
bufferVar = smuX.makebuffer(bufferSize)
The created reading buffer
Source-measure unit (SMU) channel (for example,
applies
Maximum number of readings that can be stored
Details
Reading buffers can be created and allocated dynamically using this function. Use bufferSize to designate the
number of readings the buffer can store.
Dynamically allocated reading buffers can be used interchangeably with the smuX.nvbufferY buffers.
A reading buffer can be deleted by setting all references to the reading buffer equal to nil, then running the
garbage collector (see the collectgarbage() function in Standard libraries (on page 6-26
)).
Example
mybuffer2 = smua.makebuffer(200)
Creates a 200 element reading buffer (mybuffer2)for
SMU channel A.
Also see
collectgarbage() in Base library functions (on page 6-26)
Remote reading buffer programming (on page 3-11)
savebuffer() (on page 7-161)
smuX.nvbufferY (on page 7-215)