EasyManuals Logo
Home>Keithley>Measuring Instruments>2611B

Keithley 2611B Reference Manual

Keithley 2611B
864 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 #508 background imageLoading...
Page #508 background image
Section
7: TSP command reference Series 2600B System SourceMeter® Instrument
Reference Manual
7-168 2600BS-901-01 Rev. B / May 2013
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
Affected by Where saved Default value
Function
No
Usage
for name in script.user.catalog() do body end
name
String representing the name of the script
body
Code that implements the body of the
for
loop to process the names in the catalog
Details
Accessing the catalog of scripts stored in nonvolatile memory allows you to process all scripts in nonvolatile
memory. The entries will be enumerated in no particular order.
Each time the body of the function executes, name takes on the name of one of the scripts stored in nonvolatile
memory. The for loop repeats until all scripts have been iterated.
Example
for name in script.user.catalog() do
print(name)
end
Retrieve the catalog listing for user scripts.
Also see
None
scriptVar.autorun
This attribute controls the autorun state of a script.
Type TSP-Link accessible Affected by Where saved Default value
Attribute (RW)
No
Not applicable
See Details
See Details
Usage
scriptVar.autorun = state
state = scriptVar.autorun
scriptVar
The name of the variable that references the script
state
Whether or not the script runs automatically when powered on:
• "yes" (script runs automatically)
•
"no"
(script does not run automatically)
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().

Table of Contents

Other manuals for Keithley 2611B

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Keithley 2611B and is the answer not in the manual?

Keithley 2611B Specifications

General IconGeneral
BrandKeithley
Model2611B
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals