Debugging Test Programs

Consider the following common aspects to debug a test program.

Sequence Execution

You can debug a test program by referring to the information displayed in the Run-Time Error dialog box. When a run-time error occurs during the execution of a TestStand test program, TestStand launches a Run-Time Error dialog box.

You can debug a test program by setting one or more breakpoints in a sequence file and/or a LabVIEW VI. Breakpoints are debugging tools that allow you to pause execution at specific locations you designate in a test program. When execution suspends at a breakpoint, you can control the step execution from the Step pane context menu.

Chamber

You can check the chamber if the test is distorted by environment noise. When the chamber is not properly closed, environment noise can distort the test in the following ways:

  • Response sound signal may not align with sync pulse signal.

    The align VI outputs empty data in this case. Thus, the analysis VI cannot get test results.

  • THD+N result may be unstable.

Test Time

You can check and adjust signal-related parameters to shorten stimulus signal time, especially when stimulus signal is chirp signal or stepped frequency sweep signal.