Section 10: Instrument programming
Series 3700A System Switch/Multimeter Reference Manual
10-40
3700AS-901-01 Rev. D/June 2018
Running a script
You can run a script in the Test Script Builder (TSB) software using any of the following methods:
•
Run a script that is open in the script editor area
•
Run scripts that are listed in the Navigator area that are not currently open in the script editor
window
•
Run a collection of scripts by creating a run configuration (see
When you use any of the run controls to run a script, the area that has focus in the workspace is
important. For example, if the Navigator area is active (the tab is shaded) when you click the
Run
icon, the script file that is highlighted in the Navigator area is run instead of the active script in the
script editor area.
The following list describes the most commonly used controls to run scripts in TSB:
•
Right-click in the script editor area and select
Run Editor Contents
to run the active script as it
currently appears in the script editor
•
Right-click in the script editor area and select
Run As > 1 TSP File
to run the last saved version
of the active script in the script editor as a
.tsp
file
•
Select an action from the
Run
menu at the top of the TSB software interface
Creating a run configuration
A run configuration allows you to download multiple script files to an instrument and execute them as
a single script.
To create a run configuration:
1. On the
Run
menu, select
Run Configurations
. The Run Configurations dialog box opens.
2. The left pane of the dialog box lists existing run and debug configurations. Select the script where
the Run Configuration will be saved.
3. Click the
New launch configuration
icon
at the top left of the dialog box. By default, a new
configuration is created with the name
New_configuration
.