2600AS-901-01 Rev. B / September 2008
Return to
13-7
Series 2600A System SourceMeter® Instruments Reference Manual
Section 13: Test Script Builder (TSB)
Figure 13-4
Creating a project folder
Writing or modifying a script
A script is a list of ICL commands and TSL statements.
shows a simple example of a
script. When this script is run, it performs a beeper test. After sounding the beeper for three
seconds at 1kHz, the message “Test Completed” is displayed on the Series 2600A. See details on
later in this section.
When a project or script file is created, the script file opens and is displayed in the Script “Editor”
area of the Test Script Builder. This is where a script can be written.
To modify an existing script file, it must be open. Open script files are presented as tabs in the
Script Editor. To open and display a script file, click the file name in the Project Navigator. To
display a different script file that is already open, click the appropriate tab at the top of the Script
Editor.
Saving a script
It is good practice to routinely save a script file as lines of code are written or modified. The save
operation performs error checking for the script. If an error occurs, an “X” will appear near the
corrupt line of code, and the
Problems
tab will open to provide an explanation of the error. “X”s will
also appear in the Project Navigator to indicate which project folder and which script file has the
error.
A) Open the New TSP Project dialog box as follows:
Click the folder icon to display the New project wizard.
In the wizard, select TSP Project and click Next.
OR
Click FILE to display the drop-down file menu. From the
menu, click New and then click TSP Project.
B) In the New TSP Project window, type in a Project name (e.g.,
SourceMeasure) and click Finish:
Using the default directory path places the SourceMeter project
in the presently selected Workspace.
To place the folder in a different Workspace, click
Use default
to remove the checkmark and then use
Browse
to select the
location of the folder.