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

Using SubVIs in PDA and Touch Panel VIs (PDA Module, Touch Panel Module)

LabVIEW 8.2 PDA Module Help
September 2006

NI Part Number:
370642D-01

»View Product Info

If a subVI requires user input to continue, you must set the subVI to show its front panel when called by enabling the Show front panel when called and Close afterwards if originally closed properties for the subVI because you cannot switch to the front panel of another VI. If you do not set Show front panel when called and Close afterwards if originally closed properties for a subVI that includes a front panel that displays on execution, the PDA or Touch Panel application behaves incorrectly.

How Opening a SubVI Front Panel Affects Parallel Execution

If you open a subVI front panel in a PDA or Touch Panel VI, the subVI pauses all other calling VIs and their subVIs, which is different than LabVIEW for Windows. When the subVI front panel closes, the other calling VIs and their subVIs resume.

Enabling Properties for a Single Instance of a SubVI in a PDA or Touch Panel VI

Complete the following steps to enable the Show front panel when called and Close afterwards if originally closed properties for a single instance of a subVI in a PDA or Touch Panel VI.

  1. Right-click the subVI icon on the block diagram and select SubVI Node Setup from the shortcut menu.
  2. Place checkmarks in the Show Front Panel when called and Close afterwards if originally closed checkboxes.
  3. Click the OK button.

Enabling Properties for All Instances of a SubVI in a PDA or Touch Panel VI

Complete the following steps to enable the Show front panel when called and Close afterwards if originally closed properties for all subVIs in a PDA or Touch Panel VI.

  1. Select File»VI Properties to open the VI Properties dialog box.
  2. Select Window Appearance from the Category pull-down menu.
  3. Click the Customize button to open the Customize Window Appearance dialog box.
  4. Place checkmarks in the Show front panel when called and Close afterwards if originally closed checkboxes.
  5. Click the OK button.

Resources


 

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