EasyManuals Logo
Home>Keithley>Multimeter>3700A Series

Keithley 3700A Series Reference Manual

Keithley 3700A Series
936 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 #671 background imageLoading...
Page #671 background image
Section 11: TSP command reference Series 3700A System Switch/Multimeter Reference Manual
11-292 3700AS-901-01 Rev. D/June 2018
Example
localnode.showerrors = 1
Enables sending of generated errors.
Also see
localnode.prompts (on page 11-288)
makegetter()
This function creates a function to get the value of an attribute.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
No
Usage
getter = makegetter(table, "attributeName")
getter
The return value
table
Read-only table where the attribute is located
attributeName
A string representing the name of the attribute
Details
This function is useful for aliasing attributes to improve execution speed. Calling the function created
with makegetter() executes faster than accessing the attribute directly.
Creating a getter function is only useful if it is going to be called several times. Otherwise, the
overhead of creating the getter function outweighs the overhead of accessing the attribute directly.
Example
getrange = makegetter(dmm, "range")
-- (intervening code)
r = getrange()
Create a getter function called
getrange.
When getrange() is called, it
returns the value of dmm.range
and assigns it to the variable r.
Also see
makesetter() (on page 11-292)
makesetter()
This function creates a function that, when called, sets the value of an attribute.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
No
Usage
setter = makesetter(table, "attributeName")
setter
Function that sets the value of the attribute
table
Read-only table where the attribute is located
attributeName
The string name of the attribute

Table of Contents

Other manuals for Keithley 3700A Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Keithley 3700A Series and is the answer not in the manual?

Keithley 3700A Series Specifications

General IconGeneral
BrandKeithley
Model3700A Series
CategoryMultimeter
LanguageEnglish

Related product manuals