Makegetter() - Keithley 708B Reference Manual

Switching matrix
Hide thumbs Also See for 708B:
Table of Contents

Advertisement

Section 7: Command reference
When used in an expanded system (TSP-Link), localnode.showerrors is sent to the remote master node
only. Use node[N].showerrors (where N is the node number) to send the command to any node in the
system.
Example
localnode.showerrors = 1
Also see
localnode.prompts

makegetter()

This function creates a function to get the value of an attribute.
Type
TSP-Link accessible
Function
No
Usage
getter = makegetter(table, attributeName)
getter
table
attributeName
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
getRule = makegetter(channel, "connectrule")
...
r = getrule()
Also see
makesetter()
7-134
(on page 7-129)
Affected by
The return value
Read-only table where the attribute is located
The string name of the attribute
(on page 7-135)
Models 707B and 708B Switching Matrix Reference Manual
Enables sending of generated errors.
Where saved
Default value
Creates a getter function called
getRule.
When getRule is called, it returns
the value of connectrule.
707B-901-01 Rev. A / August 2010

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

707b

Table of Contents