2-20 TSP Programming Fundamentals
Series 2600 System SourceMeters Reference Manual
2600S-901-01 Rev. A / May 2006
Return to
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 2600. 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 Development 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.
The toolbar at the top of the Test Script Builder is used to save the displayed
script file. As explained in
, the script file can be saved in the same
folder and/or saved in a different folder.
Figure 2-9
Saving a script in the Test Script Builder
Click File and then click Save in the the drop-down menu.
OR
To save the displayed script file in the same project folder:
Click the diskette icon.
To save the displayed script file in a different project folder:
A) Click File and then click Save As in the the drop-down menu to
display the Save As window.
B) In the Save As window:
1. Select (click) the project folder for the script file.
2. If desired, change the name of the script File name. The .esp
extension must be included in the file name.
Содержание SourceMeter 2600 Series
Страница 507: ...AppendixA Specifications Appendix A topics Model 2600S Specifications page A 2 2600S 901 01 Rev A May 2006...
Страница 575: ...AppendixF DisplayCharacterCodes Appendix F topics Introduction page F 2...
Страница 592: ......
Страница 593: ......