
Section 7: Introduction to TSP operation
Model 2450 Interactive SourceMeter® Instrument Reference Manual
7-30
2450-901-01 Rev. B/September 2013
Using Test Script Builder (TSB)
Keithley Instruments Test Script Builder (TSB) is a software tool that simplifies building test scripts.
You can use TSB to perform the following operations:
•
Send remote commands and Lua statements
•
Receive responses (data) from commands and scripts
•
Upgrade instrument firmware
•
Create, manage, and run user scripts
•
Debug scripts
•
Import factory scripts to view or edit and convert to user scripts
The Keithley Instruments Test Script Processor (TSP
®
) scripting engine is a Lua interpreter. In TSP-
enabled instruments, the Lua programming language has been extended with Keithley-specific
instrument control commands. For more information about using the Lua scripting language with
Keithley TSP-enabled instruments, refer to the
Fundamentals of programming for TSP
(on page 7-11)
section.
Keithley has created a collection of remote commands specifically for use with Keithley TSP-enabled
instruments; for detailed information about those commands, refer to the "Command reference"
section of the documentation for your specific instrument. You can build scripts from a combination of
these commands and Lua programming statements. Scripts that you create are referred to as "user
scripts." Also, some TSP-enabled instruments come with a number of built-in factory scripts.
The following figure shows an example of the Test Script Builder. As shown, the workspace is divided
into these areas:
•
Project navigator
•
Script editor
•
Outline view
•
Programming interaction
•
Help files