Section 6: Instrument programming
Models 707B and 708B Switching Matrix Reference Manual
6-6
707B-901-01 Rev. A / August 2010
Create a script using TSB Embedded
NOTE
If you are using TSB Embedded to create scripts, you do not need to use the commands
loadscript
or
loadandrunscript
and
endscript
. For information on using TSB Embedded,
select the Help button on a web page or the Help option from the navigational pane on the left hand
side.
You can create a script in from the instrument web page with TSB Embedded. When you save the
script in TSB Embedded, it is loaded into the runtime environment and saved in the nonvolatile
memory of the instrument.
To create a script using TSB Embedded:
1. In the TSP Script box, enter the name of the script.
2. In the input area, enter the sequence of commands to be included in the script. Line numbers are
automatically assigned.
3. Click
Save Script
. The name is added to the User Scripts list on the left.
Create a script using the create configuration script feature
The create configuration script feature captures the present settings of the instrument. Once saved,
you can use this script to return to that configuration, or use it as a starting point to create your own
scripts.
Once created, the configuration script is a normal TSP script — you can use it as you do any other
script.
For detail on creating a configuration script, see
Save the present configuration
(on page 2-106).
Run scripts
This section describes how to run the anonymous and named scripts.
NOTE
If the instrument is in local control when the script is started, it switches to remote control (REM is
displayed) while the script is running. The instrument is returned to local control when the script
completes. If you press the front panel
EXIT (LOCAL)
key while the script is running, the script is
stopped.