2-2 Return to Section Topics 2600S-901-01 Rev. C / January 2008
Section 2: TSP Programming Series 2600 System SourceMeter® Instruments Reference Manual
Using the expanded system............................................................. 2-33
Source-measure voltage and current ...........................................
2-33
Read and write to Digital I/O port.................................................. 2-33
Display user-defined messages .................................................. 2-34
User scripts ....................................................................................... 2-34
Script examples ............................................................................
2-34
Creating a user script ................................................................... 2-36
Saving a user script ...................................................................... 2-37
Running a user script.................................................................... 2-38
Modifying a user script.................................................................. 2-40
Script management ...................................................................... 2-40
Factory scripts .................................................................................. 2-42
Running a factory script................................................................
2-42
Modifying a factory script.............................................................. 2-42
Differences: Remote versus local state ........................................
Memory considerations for the runtime environment....................
2-43
2-44
Test Script Language (TSL) reference ............................................ 2-45
Reserved words............................................................................
2-45
Variables and types ...................................................................... 2-45
Operators...................................................................................... 2-46
Tables/arrays ................................................................................ 2-47
Functions ...................................................................................... 2-46
Precedence .................................................................................. 2-48
Logical operators .......................................................................... 2-48
Concatenation .............................................................................. 2-49
Branching ..................................................................................... 2-50
Loop control.................................................................................. 2-51
Standard libraries.......................................................................... 2-53