Meminfo() - 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
Details
This function is useful for aliasing attributes to improve execution speed. Calling the setter function will execute
faster than accessing the attribute directly.
Creating a setter function is only useful if it is going to be called several times. If you are not calling the
setter function several times, it is more efficient to access the attribute directly.
Example
setlevel = makesetter(smua.source, "levelv")
for v = 1, 10 do
setlevel(v)
end
Also see
makegetter()

meminfo()

This function returns the current amount of available memory and the total amount of memory in the instrument.
Type
TSP-Link accessible
Function
No
Usage
freeMem, totalMem = meminfo()
freeMem
totalMem
Details
This function returns two values:
The amount of free dynamically allocated memory available in kilobytes
The total amount of dynamically allocated memory on the instrument in kilobytes
The difference between the two values is the amount currently used.
Also see
None
2651A-901-01 Rev. A / March 2011
(on page 7-140)
Affected by
The amount of free dynamically allocated memory available
The total amount of dynamically allocated memory in the instrument
Creates a setter function called
setlevel.
Using setlevel() in the loop
sets the value of
smua.source.levelv,
performing a source sweep.
Where saved
Default value
Section 7: Command reference
7-141

Advertisement

Table of Contents
loading

Table of Contents