Keithley SourceMeter 2600 Series Reference Manual page 72

Table of Contents

Advertisement

2-20 TSP Programming Fundamentals
Series 2600 System SourceMeters Reference Manual
Writing or modifying a script
A script is a list of ICL commands and TSL statements.
Figure 2-5
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
"User
scripts" 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
Figure
2-9, 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
2600S-901-01 Rev. A / May 2006
Return to
Section 2 topics

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents