xii
Avoiding circular-definition errors .....................................334
Controlling the flow of a function or program........................334
Using If, Lbl, and Goto to control program flow......................335
If Command .........................................................................335
If...Then...EndIf structures...................................................335
If...Then...Else... EndIf structures.........................................336
If...Then...ElseIf... EndIf structures ......................................336
Lbl and Goto commands .....................................................336
Using loops to repeat a group of commands ...........................337
For...EndFor loops ................................................................337
While...EndWhile loops.......................................................338
Loop...EndLoop loops..........................................................340
Repeating a loop immediately ...........................................341
Lbl and Goto loops ..............................................................341
Changing mode settings ............................................................341
Setting a mode ....................................................................341
Debugging programs and handling errors ...............................341
Techniques for debugging..................................................342
Error-handling commands ..................................................342
Data Collection ................................................................... 343
Compatible sensors.....................................................................343
Experimental data ......................................................................343
Starting the Data Collection tool...............................................344
Automatic start mode .........................................................344
Manually starting the Data Collection tool .......................345
Data Collection controls.............................................................346
Running an experiment and collecting data ............................347
Data Collection names................................................................349
Storing collected data ................................................................349
To save temperature data...................................................349
To save motion data............................................................349
Retrieving stored experimental results .....................................352
Troubleshooting the Data Collection tool ................................352
Appendix: Service and Support......................................... 355
Texas Instruments Support and Service .....................................355
For general information......................................................355
Service and warranty information......................................355
Index ................................................................................... 357