EasyManuals Logo

Keithley 2651A Reference Manual

Keithley 2651A
800 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 #283 background imageLoading...
Page #283 background image
Model 2651A High Power System SourceMeter® Instrument Reference Manual Section 6: Instrument programming
2651A-901-01 Rev. A / March 2011 6-39
Advanced scripting for TSP
Global variables and the script.user.scripts table
When working with script commands, it can be helpful to understand how scripts are handled in the
instrument.
Scripts are loaded into the runtime environment from nonvolatile memory when you turn the
instrument on. They are also added to the runtime environment when you load them into the
instrument.
There are several types of scripts in the runtime environment:
• Named scripts
• Unnamed scripts
• The anonymous script
When a named script is loaded into the runtime environment:
• A global variable with the same name is created to reference the script more conveniently.
• An entry for the script is added to the script.user.scripts table.
When an unnamed script is loaded using the script.new() (on page 7-155) function, a global variable
is added. Nothing is added to the script.user.scripts table.
When the anonymous script is loaded, it does not have a global variable or an entry in the
script.user.scripts table. If there is an existing anonymous script, it is replaced by the new
one.
When the instrument is turned off, everything in the runtime environment is deleted, including the
scripts and global variables.
See the figure below to see how the scripts, global variables, and script.user.scripts table
interrelate.

Table of Contents

Other manuals for Keithley 2651A

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Keithley 2651A and is the answer not in the manual?

Keithley 2651A Specifications

General IconGeneral
BrandKeithley
Model2651A
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals