
2600AS-901-01 Rev. B / September 2008
Return to
12-7
Series 2600A System SourceMeter® Instruments Reference Manual
Section 12: TSP Fundamentals and Script Management
script. After making changes, saving the script will overwrite the old version of the script in
nonvolatile memory.
TSP script types
Instrument Control Library (ICL) commands and TSL programming statements are used to
program and control the Series 2600A System SourceMeter instruments in the test system. There
are three types of scripts:
•
: Scripts that are pre-loaded into the instrument by the manufacturer.
•
: Program scripts are created and loaded into the Series 2600A, where they are
executed.
•
: This type of script interacts with the operator. It provides user-defined
messages on the SourceMeter instrument display to prompt the operator to enter
parameters using the front panel.
Programming model for scripts
The fundamental programming model for scripts is shown in
. Factory scripts (created
by Keithley Instruments at the factory) are permanently stored in nonvolatile memory of the Series
2600A. A user script can be created using Test Script Builder or a similar program. User-created
scripts can also be stored in nonvolatile memory.
When the Series 2600A is turned on, all user scripts and factory script functions are recalled into
the run-time environment from nonvolatile memory. If any user scripts have been programmed to
run automatically, they will run when loaded (the
autoexec
script is the only script that will run
after all scripts are loaded). Any script in the run-time environment can be run from the Test Script
Builder or the user’s own program.
NOTE It is common practice to say that a script is run. In actuality, it is the
chunk in the script that is being run (executed).
Figure 12-2
Programming model for scripts
Run-Time
Environment
Nonvolatile
memory
Save/recall scripts
Returned Data
Run Any Script
Users Program
OR
Test Script
Builder
Script
Management
Programming
Options
Host PC
Scripts loaded
at power-up
Series 2600A