Section 7: Command reference Model 2651A High Power System SourceMeter® Instrument Reference Manual
7-190 2651A-901-01 Rev. A / March 2011
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-30)).
Example
mybuffer2 = smua.makebuffer(200)
Creates a 200 element reading buffer (mybuffer2)for
SMU channel A .
Also see
collectgarbage()
savebuffer()
(on page 7-152)
smuX.nvbufferY
(on page 7-208)
Working with reading buffers in the remote state
(see "Remote reading buffer programming" on page 3-10)
smuX.measure.adc
This attribute contains the analog to digital converter selection.
Type TSP-Link accessible Affected by Where saved Default value
Attribute (RW) Yes Instrument reset
SMU reset
Recall
Saved setups smuX.ADC_INTEGRATE
Usage
adc = smuX.measure.adc
smuX.measure.adc = adc
adc
The analog to digital (A/D) converter used for measurements. Set to one of the
following:
0 or smuX.ADC_INTEGRATE: Integrating A/D converter
1 or smuX.ADC_FAST: Fast A/D converter
X
Source-measure unit (SMU) channel (for example, smua.measure.adc applies to
SMU channel A).
Details
When making measurements, the SMU uses one of two types of analog to digital converters. This attribute
controls which analog to converter is used.
Example
smua.measure.adc = smua.ADC_FAST
Selects the fast A/D converter for SMU
channel A.
Also see
smuX.measure.nplc (on page 7-201)
Analog to digital converter
(on page 4-1)