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 #504 background imageLoading...
Page #504 background image
Section
7: TSP command reference Series 2600B System SourceMeter® Instrument
Reference Manual
7-164 2600BS-901-01 Rev. B / May 2013
script.load()
This function creates a script from a specified file.
Type TSP-Link accessible
Affected by Where saved Default value
Function
No
Usage
scriptVar = script.load(file)
scriptVar = script.load(file, name)
scriptVar
The created script; this is
nil
if an error is encountered
file
The path and file name of the script file to load
name
The name of the script to be created
Details
The file path may be absolute or relative to the current working directory. The root folder of the USB flash drive
has the absolute path "/usb1/". Both the forward slash (/) and backslash (\) are supported as directory
separators.
The file to be loaded must start with the loadscript or loadandrunscript keywords, contain the body of the
script, and end with the endscript keyword.
Script naming:
• If the name parameter is an empty string, or name is absent (or nil) and the script name cannot be
extracted from the file, scriptVar is the only handle to the created script.
• If name is given (and not nil), any script name embedded in the file is ignored.
• If name conflicts with the name of an existing script in the script.user.scripts table, the existing
script’s name attribute is set to an empty string before it is replaced in the script.user.scripts
table by the new script.
• If name is absent or nil, the command attempts to extract the name of the script from the file. Any
conflict between the extracted name and that of an existing script in the scripts table generates an error.
If the script name cannot be extracted, the created script's name attribute is initialized to the empty
string, and must be set to a valid nonempty string before saving the script to nonvolatile memory.
Example
myTest8 =
script.load("/usb1/filename.tsp",
"myTest8")
Loads the script myTest8 from the USB flash
drive.
Also see
script.new() (on page 7-165)

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