Section 13: Introduction to TSP commands
2470 High Voltage SourceMeter Instrument Reference Manual
13-32
2470-901-01 Rev. A /
May
2019
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
13-12) 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 include 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