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

Debugging Applications (Touch Panel Module)

LabVIEW 2009 Touch Panel Module Help

Edition Date: June 2009

Part Number: 372507B-01

»View Product Info

Enabling Debugging

You must create a build specification that enables debugging before you can debug a Touch Panel application.

(Windows CE) Enabling debugging generates extra debugging information and can significantly increase the size of the application. Touch Panel devices generally have enough memory to accommodate debugging information. If you have trouble building a large Touch Panel application, try separating the large VIs into smaller subVIs.

(Windows CE) Place a checkmark in the Enable debugging checkbox in the Touch Panel Build Specification Properties dialog box if you want to enable debugging when you build the Touch Panel VI into an application. (XP Embedded) Place a checkmark in the Enable debugging checkbox in the Application Properties dialog box if you want to enable debugging when you build the 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 the following ways:

  • Right-click the build specification under the 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.
  • (XP Embedded) Debugging applications for XP Embedded targets is similar to debugging stand-alone applications that you create with the Application Builder.

Debugging Using the Block Diagram on the Host Computer (Windows CE)

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

The block diagram acts as a conduit between the application running on the Touch Panel target and the 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 Touch Panel applications cannot be larger than 32 KB.

The Touch Panel Module does not support the following debugging techniques:

  • Execution highlighting
  • Custom probes

Ending a Debugging Session (Windows CE)

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


 

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