Model 2461 Interactive SourceMeter® Instrument
:TRIGger:LAN<n>:OUT:IP:ADDRess .................................................................................... 6-218
:TRIGger:LAN<n>:OUT:LOGic .............................................................................................. 6-219
:TRIGger:LAN<n>:OUT:PROTocol ....................................................................................... 6-220
:TRIGger:LAN<n>:OUT:STIMulus ......................................................................................... 6-220
:TRIGger:LOAD "ConfigList" ................................................................................................. 6-222
:TRIGger:LOAD "DurationLoop" ............................................................................................ 6-224
:TRIGger:LOAD "Empty" ....................................................................................................... 6-225
:TRIGger:LOAD "GradeBinning" ........................................................................................... 6-226
:TRIGger:LOAD "LogicTrigger" ............................................................................................. 6-228
:TRIGger:LOAD "LoopUntilEvent" ......................................................................................... 6-229
:TRIGger:LOAD "SimpleLoop" .............................................................................................. 6-231
:TRIGger:LOAD "SortBinning" ............................................................................................... 6-233
:TRIGger:STATe? ................................................................................................................. 6-234
:TRIGger:TIMer<n>:CLEar .................................................................................................... 6-235
:TRIGger:TIMer<n>:COUNt .................................................................................................. 6-236
:TRIGger:TIMer<n>:DELay ................................................................................................... 6-238
:TRIGger:TIMer<n>:STARt:FRACtional ................................................................................ 6-238
:TRIGger:TIMer<n>:STARt:GENerate .................................................................................. 6-239
:TRIGger:TIMer<n>:STARt:OVERrun? ................................................................................. 6-240
:TRIGger:TIMer<n>:STARt:SEConds ................................................................................... 6-240
:TRIGger:TIMer<n>:STARt:STIMulus ................................................................................... 6-241
:TRIGger:TIMer<n>:STATe ................................................................................................... 6-242
Introduction to TSP operation.................................................................................. 7-1
Introduction to TSP operation .............................................................................................. 7-1
Controlling the instrument by sending individual command messages ..................................... 7-1
Queries ..................................................................................................................................... 7-3
USB flash drive path ................................................................................................................. 7-3
Information on scripting and programming ................................................................................ 7-3
Fundamentals of scripting for TSP ....................................................................................... 7-4
What is a script? ........................................................................................................................ 7-4
Run-time and nonvolatile memory storage of scripts ................................................................ 7-5
What can be included in scripts? ............................................................................................... 7-5
Working with scripts .................................................................................................................. 7-5
Fundamentals of programming for TSP ............................................................................. 7-11
What is Lua? ........................................................................................................................... 7-11
Lua basics ............................................................................................................................... 7-12
Standard libraries .................................................................................................................... 7-25
Suggestions for increasing the available memory ................................................................... 7-29
Test Script Builder (TSB) ................................................................................................... 7-29
Installing the TSB software...................................................................................................... 7-29
Installing the TSB add-in ......................................................................................................... 7-30
Using Test Script Builder (TSB) .............................................................................................. 7-30
Project navigator ..................................................................................................................... 7-31
Script editor ............................................................................................................................. 7-32
Outline view............................................................................................................................. 7-32
Programming interaction ......................................................................................................... 7-32
Connecting an instrument in TSB ............................................................................................ 7-33
Creating a new TSP project .................................................................................................... 7-34
Adding a new TSP file to a project .......................................................................................... 7-35
Running a script ...................................................................................................................... 7-35
Creating a run configuration .................................................................................................... 7-36
Memory considerations for the run-time environment ....................................................... 7-40
About TSP Commands ...................................................................................................... 7-40
Beeper control ......................................................................................................................... 7-41
Digital I/O ................................................................................................................................ 7-41