EasyManuals Logo

Keithley SourceMeter 2602 Reference Manual

Keithley SourceMeter 2602
594 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #325 background imageLoading...
Page #325 background image
Series 2600 System SourceMeters Reference Manual Instrument Control Library 12-51
Return to Section 12 topics 2600S-901-01 Rev. A / May 2006
Example Creates a getter function called getlevel:
getlevel = makegetter(smua.source, "levelv")
...
v = getlevel()
When getlevel is called, it returns the value of smua.source.levelv.
makesetter
Function Creates a function to set the value of an attribute.
Usage
setter = makesetter(table, attributename)
table Read-only table were the attribute is located.
attributename The string name of the attribute.
setter Function that sets the value of the given attribute.
Remarks
• This function creates a function that when called sets the value of the attribute. 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.
Otherwise the overhead of creating the setter function outweighs the overhead of
accessing the attribute directly.
Example Creates a setter function called setlevel:
setlevel = makesetter(smua.source, "levelv")
for v = 1, 10 do
setlevel(v)
end
Using setlevel in the loop sets the value of smua.source.levelv, thereby
performing a source sweep.

Table of Contents

Other manuals for Keithley SourceMeter 2602

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Keithley SourceMeter 2602 and is the answer not in the manual?

Keithley SourceMeter 2602 Specifications

General IconGeneral
BrandKeithley
ModelSourceMeter 2602
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals