2-40 Return to Section Topics 2600S-901-01 Rev. C / January 2008
Section 2: TSP Programming Series 2600 System SourceMeter® Instruments Reference Manual
After adding a name to the User menu, the script can then be run from the front panel as follows:
1. Press the LOAD key.
2. Select User.
3. Select the user script to run and press the RUN key.
Modifying a user script
A user script stored in non-volatile memory can be modified by retrieving the script listing for the
script. The retrieved script can then be modified, loaded, and saved in non-volatile memory. See
“
Retrieving a user script listing” (below) for details.
NOTE If using the Test Script Builder to modify a user script stored in non-
volatile memory, the script listing should be retrieved from in the
Project Navigator
(see “Retrieving scripts from the Series 2600” described earlier in
Section 2).
Script management
Retrieving a user script listing
The listing for a user script can be retrieved from non-volatile memory. The listed script can then
be modified and saved as a user script under the same name or a new name.
NOTE A modified user script can be loaded back into the Series 2600 using
the same name or a new name.
The following command returns a catalog listing of the user scripts stored in the Series 2600:
script.user.catalog()
Example:
Retrieve the catalog listing for user scripts:
for name in script.user.catalog() do
print (name)
end