Section 2
TSP Programming Fundamentals
Section 2 topics
Introduction, page 2-2 User scripts, page 2-40
Programming overview, page 2-7 Script examples, page 2-40
Installing the Test Script Builder software,
page 2-11
Creating a user script, page 2-43
System connections, page 2-11 Saving a user script, page 2-44
Running a user script, page 2-44
Using Test Script Builder, page 2-13 Modifying a user script, page 2-47
Starting Test Script Builder, page 2-15 Script management, page 2-47
Opening communications, page 2-16
Creating and modifying a script, page 2-18 Factory scripts, page 2-49
Script launch configuration, page 2-23 Running a factory script, page 2-49
Launching a script, page 2-26 Modifying a factory script, page 2-49
Running a TSP file, page 2-27
Retrieving scripts from the Series 2600, page 2-27
Differences: remote vs. local state, page 2-50
Memory considerations, page 2-52
Instrument Console, page 2-29
File management tasks, page 2-35
Test Script Language (TSL) reference, page 2-53
Sending commands and statements, page 2-39 Reserved words, page 2-53
Source-measure voltage and current, page 2-39 Variables and types, page 2-53
Read and write to Digital I/O port, page 2-39 Operators, page 2-54
Display user-defined messages, page 2-39 Tables/arrays, page 2-56
Functions, page 2-55
Precedence, page 2-57
Logical operators, page 2-57
Concatenation, page 2-58
Branching, page 2-59
Loop control, page 2-60
Standard libraries, page 2-61