Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Debugging PDA and Touch Panel Applications (PDA Module, Touch Panel Module)

LabVIEW 8.2 Touch Panel Module Help
September 2006

NI Part Number:
371944A-01

»View Product Info

Enabling Debugging

You must create a build specification that enables debugging before you can debug a PDA or Touch Panel application. Enabling debugging generates extra debugging information and can significantly increase the size of the PDA or Touch Panel application. PDA and Touch Panel devices generally have enough memory to accommodate debugging information. If you have trouble building a large PDA or Touch Panel application, try separating the large VIs into smaller subVIs.

Place a checkmark in the Enable debugging checkbox in the Build Specification Properties dialog box if you want to enable debugging when you build the PDA or Touch Panel VI into an application.

Starting a Debugging Session

After you enable debugging in the build specification, you can start a debugging session in one of three ways:

  • Right-click the build specification under the PDA or Touch Panel target on which you want to debug the application and select Debug from the shortcut menu.
  • Click the Step Over or Step Into buttons on the block diagram toolbar.
  • Click the Pause button and then click the Run button on the block diagram toolbar.

Debugging Using the Block Diagram on the Host Computer

When LabVIEW on the host computer connects to the PDA or Touch Panel target, the application runs on the PDA or Touch Panel target. The user interface is fully functional on the PDA or Touch Panel target. However, the front panel controls have no effect on the application, and the indicators of the PDA or Touch Panel VI do not reflect the execution of the application on the PDA or Touch Panel target.

The block diagram acts as a conduit between the PDA or Touch Panel application running on the PDA or Touch Panel target and the PDA or Touch Panel VI running on the host computer, where you can probe signals, set breakpoints, and step through code as you do in any other VI. Probes you use to debug PDA and Touch Panel applications cannot be larger than 32 KB.

The PDA Module and the Touch Panel Module do not support the following debugging techniques:

  • Execution highlighting
  • Custom probes

Ending a Debugging Session

To end the debugging session, stop the PDA or Touch Panel application.


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit