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

Creating a PDA Target Build Specification (PDA Module)

LabVIEW 8.5 PDA Module Help
August 2007

NI Part Number:
370642E-01

»View Product Info

You must create a build specification to build a PDA VI into a PDA application. Complete the following steps to create a Pocket PC build specification.

  1. Right-click Build Specifications in the Project Explorer window and select New»Application (EXE) from the shortcut menu to open the PDA Build Specification Properties dialog box.
  2. Define the settings for the PDA application.
    1. Enter a name for the build specification in the Build specification name text box. This is the name that appears in the Project Explorer window.
    2. By default, the name of the PDA application is the same as the top-level PDA VI. If you do not want to use the top-level PDA VI name for the PDA application name, remove the checkmark from the Same as top-level VI checkbox.
    3. (Optional) Enter the name of the PDA application in the Target filename text box if you are not using the top-level PDA VI name.
    4. Browse to and select the destination directory of the PDA application on the host computer in the Destination directory path control.
    5. Enter the destination directory of the PDA application on the PDA target in the Remote path for target application text box.
    6. Place a checkmark in the Generate serial only checkbox if you want to treat the PDA VI as if it were assigned a subroutine priority and execute parallel loops serially, which results in a smaller, faster PDA application.
    7. Place a checkmark in the Enable debugging checkbox if you want to enable debugging in the PDA application. This option generates extra debugging information and makes the PDA application larger.
    8. Place a checkmark in the Expression folding checkbox if you want to enable expression folding in the PDA application. This option generates better performing and more efficient code by collapsing groups of nodes into single expressions that are easily recognized by C compilers.
    9. Enter the front panel scale factor in the Front panel scale factor text box. The default is 2. The front panel scale factor determines how LabVIEW resizes front panel objects when you build the PDA VI into a PDA application. When you build a PDA application for Pocket PC or Windows Mobile targets using the default front panel scale factor, LabVIEW reduces the user interface by a scale factor of two, so fonts appear as 14-point type, and the user interface is 240 x 300 pixels or 300 x 240, depending on the orientation.
    10. Select the depth for the bitmap you want to generate in the Screen depth list. The default is 8, which means the PDA Module generates 8-bit bitmaps when you build a PDA VI that includes pictures into a PDA application. You can generate 8-, 16-, or 24-bit bitmaps.
  3. Select the Device Information category to view which target this build specification applies to.
  4. Select the processor the PDA target uses. You can select only the processors that are compatible with the current build specification.
  5. Select the Source Files category to select the source files to include when you build a PDA VI into a PDA application.
    1. Select the top-level VI for the PDA application and click the blue arrow button to move the VI to the Top-level VI text box. PDA VIs can have only one top-level VI.
    2. Select any additional files for the PDA application and click the blue arrow button to move the files to the Additional files list. You can add .c, .lib, .obj, and .cpp files.
  6. (Optional) Select the Machine Aliases category if you are using shared variables in a PDA VI and are building an application for multiple PDA targets. The Machine Aliases category lists targets in the project that support hosting shared variables. PDA targets do not support hosting shared variables. Use the Machine Aliases category to overwrite the default IP address of the shared variable host target so you can move the shared variable to a different host without rebuilding the application.
    1. (Optional) If you need to change the IP address of the shared variable host, select the IP address in the Address list.
    2. (Optional) Enter the correct IP address of the shared variable host.
    3. (Optional) Place a checkmark in the Deploy aliases file checkbox if you want to create the aliases file when you build the PDA VI into a PDA application and deploy the aliases file when you deploy the application to the PDA target.
Note  You must create and deploy the aliases file manually if you do not place a checkmark in the Deploy aliases file checkbox. If you are using a target that eMbedded Visual Tools enables, you must manually create and deploy the aliases file.
  1. Select the Generated Files category to view the PDA application filename that this build specification creates. The aliases file also is listed if you placed a checkmark in the Deploy aliases file checkbox on the Machine Aliases page.
  2. Click the OK button.
  3. Build the PDA VI into a PDA application.

Resources


 

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