Script.user.catalog(); Scriptvar.autorun - Keithley 708B Reference Manual

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

Advertisement

Models 707B and 708B Switching Matrix Reference Manual

script.user.catalog()

This function returns an iterator that can be used in a for loop to iterate over all the scripts stored in nonvolatile
memory.
Type
TSP-Link accessible
Function
No
Usage
for name in script.user.catalog() do
<body>
end
name
<body>
Example
for name in script.user.catalog() do
print(name)
end
Also see
None

scriptVar.autorun

This attribute sets a script to autorun.
Type
TSP-Link accessible
Attribute (RW)
No
Usage
scriptVar.autorun = state
state = scriptVar.autorun
scriptVar
state
Details
Autorun scripts run automatically when the instrument is turned on. You can set any number of scripts to autorun.
The run order for autorun scripts is arbitrary, so make sure the run order is not important.
The default value for scriptVar.autorun depends on how the script was loaded. The default is "no" if the
script was loaded with loadscript or script.new(). It is "yes" for scripts loaded with loadandrunscript
or script.newautorun().
707B-901-01 Rev. A / August 2010
Affected by
String representing the user-defined name of the channel pattern
Code that implements the body of the for loop to process the names in the catalog
Affected by
Not applicable
The name of the variable that references the script
Whether or not the script runs automatically when powered on:
"yes": Script runs automatically
"no": Script does not run automatically
Where saved
Default value
Retrieve the catalog listing for user scripts.
Where saved
Default value
See Details
See Details
Section 7: Command reference
7-163

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

707b

Table of Contents