Section 5: Introduction to TSP operation Model 2657A High Power System SourceMeter® Instrument Reference Manual
5-18 2657A-901-01 Rev. B/December 2012
Factory scripts
Introduction
The Keithley Instruments Model 2657A High Power System SourceMeter
®
instrument is shipped with
one or more factory scripts saved in its flash firmware memory. A factory script is made up of a
number of functions. Some of them can be called from the front-panel LOAD TEST menu. All of them
can be called using remote programming.
As Keithley Instruments develops additional factory scripts, they will be made available on the
Keithley Instruments website
(http://www.keithley.com) as a flash firmware upgrade for the Model
2657A. See Upgrading the firmware
(on page A-4) for instructions on upgrading the flash firmware of
your Model 2657A instrument.
A factory script is similar to a user script, except a factory script is created by Keithley Instruments at
the factory and is permanently stored in nonvolatile memory. The differences between a user script
and a factory script include the following:
• A factory script cannot be deleted from nonvolatile memory.
• The script listing for a factory script can be retrieved and modified, but it will then be treated as a
user script. A user script cannot be saved as a factory script.
• Factory scripts are not stored in global variables. The only references to factory scripts are in the
script.factory.scripts attribute.
• The script.factory.catalog() function returns an iterator that can be used in a for loop
to iterate over all the factory scripts.
Example
To retrieve the catalog listing for factory scripts, send:
for name in script.factory.catalog() do print(name) end
Running a factory script
Use either of the following commands to run a factory script:
script.factory.scripts.name()
script.factory.scripts.name.run()
Where: name is the name of the factory script.
Example:
Run the factory script named “KIPulse”
script.factory.scripts.KIPulse()