2470 High Voltage SourceMeter Instrument
:TRIGger:LOAD "DurationLoop" .......................................................................................... 12-183
:TRIGger:LOAD "Empty" ..................................................................................................... 12-184
:TRIGger:LOAD "GradeBinning" ......................................................................................... 12-184
:TRIGger:LOAD "LogicTrigger" ........................................................................................... 12-186
:TRIGger:LOAD "LoopUntilEvent" ....................................................................................... 12-187
:TRIGger:LOAD "SimpleLoop" ............................................................................................ 12-188
:TRIGger:LOAD "SortBinning" ............................................................................................. 12-189
:TRIGger:STATe? ............................................................................................................... 12-191
:TRIGger:TIMer<n>:CLEar .................................................................................................. 12-192
:TRIGger:TIMer<n>:COUNt ................................................................................................ 12-192
:TRIGger:TIMer<n>:DELay ................................................................................................. 12-194
:TRIGger:TIMer<n>:STARt:FRACtional .............................................................................. 12-194
:TRIGger:TIMer<n>:STARt:GENerate ................................................................................ 12-195
:TRIGger:TIMer<n>:STARt:OVERrun? ............................................................................... 12-195
:TRIGger:TIMer<n>:STARt:SEConds ................................................................................. 12-196
:TRIGger:TIMer<n>:STARt:STIMulus ................................................................................. 12-197
:TRIGger:TIMer<n>:STATe ................................................................................................. 12-198
Introduction to TSP commands .............................................................................. 13-1
Introduction to TSP operation ............................................................................................ 13-1
Controlling the instrument by sending individual command messages ................................... 13-1
Queries ................................................................................................................................... 13-3
USB flash drive path ............................................................................................................... 13-3
Information on scripting and programming .............................................................................. 13-4
Fundamentals of scripting for TSP ..................................................................................... 13-4
What is a script? ...................................................................................................................... 13-4
Run-time and nonvolatile memory storage of scripts .............................................................. 13-5
What can be included in scripts? ............................................................................................. 13-5
Working with scripts ................................................................................................................ 13-5
Fundamentals of programming for TSP ........................................................................... 13-12
What is Lua? ......................................................................................................................... 13-13
Lua basics ............................................................................................................................. 13-13
Standard libraries .................................................................................................................. 13-27
Test Script Builder (TSB) ................................................................................................. 13-31
Installing the TSB software.................................................................................................... 13-31
Installing the TSB add-in ....................................................................................................... 13-31
Using Test Script Builder (TSB) ............................................................................................ 13-32
Project navigator ................................................................................................................... 13-33
Script editor ........................................................................................................................... 13-34
Outline view ........................................................................................................................... 13-34
Programming interaction ....................................................................................................... 13-34
Connecting an instrument in TSB .......................................................................................... 13-34
Creating a new TSP project .................................................................................................. 13-36
Adding a new TSP file to a project ........................................................................................ 13-36
Running a script .................................................................................................................... 13-37
Creating a run configuration .................................................................................................. 13-37
Suggestions for increasing the available memory ........................................................... 13-41
About TSP Commands .................................................................................................... 13-41
Beeper control ....................................................................................................................... 13-41
Digital I/O .............................................................................................................................. 13-42
Configuration list ................................................................................................................... 13-42
Display .................................................................................................................................. 13-43
Event log ............................................................................................................................... 13-43
File ........................................................................................................................................ 13-43
Instrument identification ........................................................................................................ 13-44
Miscellaneous ....................................................................................................................... 13-44