Makesetter(); Memory.available() - Keithley 708B Reference Manual

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

Advertisement

Models 707B and 708B Switching Matrix Reference Manual

makesetter()

This function creates a function that, when called, sets the value of an attribute.
Type
TSP-Link accessible
Function
No
Usage
setter = makesetter(table, attributeName)
setter
table
attributeName
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. Otherwise, the overhead of
creating the setter function outweighs the overhead of accessing the attribute directly.
setRule = makesetter(channel, "connectrule")
r = setrule(channel.BREAK_BEFORE_MAKE)
Also see
makegetter()
channel.connectrule

memory.available()

This function reads and returns the amount of memory that is available in the instrument overall and for user
scripts, and storing channel patterns
Type
TSP-Link accessible
Function
Yes
707B-901-01 Rev. A / August 2010
Affected by
Function that sets the value of the attribute
Read-only table where the attribute is located
The string name of the attribute
(on page 7-134)
(on page 7-20)
Affected by
Where saved
Default value
Creates a setter function called
setRule.
When setRule is called, it
configures the setting for
connectrule. In this example,
setting connection rule to
break-before-make.
Where saved
Default value
Section 7: Command reference
7-135

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

707b

Table of Contents