Section 2
:
TSP Programming Fundamentals
Series 3700 System Switch/Multimeter Reference Manual
2-20
Document Number: 3700S-901-01 Rev. A / August 2007
displayname:
is the name to be added to (or deleted from) the User menu.
script:
is the name of the script.
It does not matter what order the items are added to the User menu. Menu items will be
displayed in alphabetical order when the menu is selected.
Example:
Assume a user script named 'Test9' has been loaded into the run-time environment. Add the
name ('Test9') to the User menu for the script as follows:
display.loadmenu.add('Test9', 'Test9')
The script can then be run from the front panel as follows:
1. Select the script for lists of scripts in the system
2. Press the
LOAD
key.
3. Select SCRIPTS and press the
ENTER
key.
4. Select script from list and press the
ENTER
key. Now the script is loaded for front panel
execution.
5. Press the
RUN
key
to execute. Make sure the script makes sense to run from the front
panel.
6. To add the entry to the User menu of
LOAD
key:
Press the
LOAD
key.
Select User.
Select the user script to run and press the
RUN
key.
Modifying a user script
A user script stored in nonvolatile memory can be modified by retrieving the script listing for the
script. The retrieved script can then be modified, loaded and saved in nonvolatile memory. See
―Retrieving a user script listing‖ (below) for details.
NOTE
If using the Test Script Builder to modify a user script stored in nonvolatile memory, the
script listing should be retrieved from in the Project Navigator (see
Retrieving a user
script listing
(on page 2-20)).
Script management
Retrieving a user script listing
The listing for a user script can be retrieved from nonvolatile memory. The listed script can then
be modified and saved as a user script under the same name or a new name.