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

What's New in LabVIEW 8.5 PDA Module

LabVIEW 8.5 PDA Module Help
August 2007

NI Part Number:
370642E-01

»View Product Info

The LabVIEW 8.5 PDA Module features and changes include support for front panel data binding as well as expanded support for front panel controls and indicators.

Refer to the LabVIEW 8.5 Features and Changes topic for information about new features in LabVIEW 8.5.

Refer to the LabVIEW PDA Module Readme, available by selecting Start»All Programs»National Instruments»LabVIEW 8.5»Readme and opening readme_PDA.html for last minute information and known issues with version 8.5 of the PDA Module.

General

The LabVIEW 8.5 PDA Module includes the following enhancements and new features:

  • Reading and writing front panel data using data binding—You can use data binding to read or write front panel data for network-published shared variables. You can use data binding with any front panel control or indicator that the PDA Module supports.
    Note Note  When you use front panel data binding in a PDA subVI, LabVIEW closes data binding connections when the subVI finishes execution.

    (PDA Emulators) The PDA Module does not support reading or writing shared variable values on x86 emulators. Prior to reading or writing shared variable values on ARM emulators, cradle the emulator and configure the IP address for the emulator. You must install support for shared variables after you cradle the emulator. Refer to ni.com/info and enter the info code pdasvem for the most recent information about using shared variables with PDA emulators.

    Refer to the Shared Variable Intro - Pocket PC.lvproj in the labview\examples\PDA\shared variable directory for an example of using front panel data binding.

     

  • Call by Reference Node supports local references—You now can use a local reference with the Call by Reference Node. Select the Source Files category of the PDA Build Specification Properties dialog box to include any VIs that are called locally in the project.
  • LabVIEW Aliases File Editor—In previous versions of the PDA Module, you changed the IP address of the shared variable host in the aliases file and manually downloaded the aliases file to the same directory as the corresponding application on the PDA target. You now can use the LabVIEW Aliases File Editor to edit the aliases file on the target. Tap Start»Programs»LabVIEW Aliases File Editor to launch the LabVIEW Aliases File Editor on the target. Tap the browse button to browse to and open an aliases file.
  • Expression folding—Expression folding optimizes performance by collapsing groups of nodes into single expressions in the generated code that are easily recognized by C compilers. Place a checkmark in the Expression folding checkbox on the Application Information page of the PDA Build Specification Properties dialog box to enable expression folding. You cannot debug a PDA VI while using expression folding because expression folding eliminates some wires on the block diagram.
  • Expression Node supports clusters and arrays—You now can use arrays or clusters as inputs to an Expression Node.
  • New VISA examples—The PDA Module includes new VISA examples, which are located in the labview\examples\PDA\comm\VISA directory.

Front Panel Controls and Indicators

  • Text justification and underlining text for controls and indicators—You now can set the justification of text and underline text for buttons; enumerated type controls; and string, time stamp, and numeric controls and indicators.

    Select the Limit to Single Line option from the shortcut menu for the string control to disable justification.

  • Blinking Boolean controls and indicators—The PDA Module supports blinking for all Boolean controls and indicators except system controls. Use a Property Node with the Blinking property to enable blinking.
  • Boolean mechanical action—The PDA Module now supports the six types of mechanical action for Boolean controls, which include Switch when pressed, Switch when released, Switch until released, Latch when pressed, Latch when released, and Latch until released.
  • Scroll bar control—The PDA Module supports scroll bar controls, which include vertical and horizontal scroll bars that you can add to any front panel control or indicator with scrollable data. Use a Property Node to associate a scroll bar control with a front panel control or indicator.
  • Control labels inside arrays—Labels on front panel controls and indicators that you place inside arrays are now visible in PDA applications. Right-click the control or indicator and select Visible Items»Label from the shortcut menu to display the label.
  • Resizing and changing the color of increment and decrement buttons—You now can resize and change the color of the increment and decrement buttons for numeric controls, enumerated type controls, and time stamp controls.
  • Events and overlapping controls—When controls overlap each other, the control with the higher tabbing order number no longer receives the event. The topmost control now receives the event.
  • Free labels and decorations inside cluster controls and indicators—You now can use free labels and decorations inside cluster controls and indicators.
  • Decorations inside tab controls—Decorations on one page of a tab control no longer appear on all the pages of the tab control.
  • Decimal values in ring controls—You now can use decimal values for items in a ring control.

Newly Supported VIs and Functions

  • Get Special Folder Path—You can use the Get Special Folder Path VI to return the path to the application or directories that applications frequently use.
  • Inline C Node—You can use the Inline C Node to add inline C code to the block diagram. The Inline C Node is similar to the Formula Node with additional support and functionality for low-level programming and header files without the overhead of a function call. Use the Inline C Node for short blocks of code that you cannot easily implement in VIs.
  • PDA Picture to Pixmap—You can use the PDA Picture to Pixmap VI to convert a picture to a cluster of image data you can use to perform certain tasks with the image, such as writing customized pictures to file.
  • Run Application—You can use the Run Application VI to run a specified PDA application.
  • Show Hide Input Panel—You can use the Show Hide Input Panel VI to display or hide the input panel for PDA devices.
  • Static VI Reference—You can use the Static VI Reference function to maintain a static reference to a VI. You can configure the Static VI Reference function to output a generic or strictly typed VI reference. After you place the Static VI Reference function on a block diagram, double-click the function to display a file dialog box in which you can select a VI.
  • XML functions—The PDA Module now includes the Escape XML, Flatten To XML, Read From XML File, Unescape XML, Unflatten From XML, and Write to XML File VIs and functions. You can use these VIs and functions to manipulate LabVIEW data in XML format.

Newly Supported Properties

  • Cluster properties—The PDA Module includes the following new cluster properties that you can use with cluster controls: Cluster Size, Cluster Size:Height, Cluster Size:Width, and Controls[]. You can use a Property Node with these properties to set the size of cluster controls and get references to cluster elements.

    The PDA Module also includes the following new cluster properties that you can use with radio buttons controls: Cluster Size, Cluster Size:Height, Cluster Size:Width, and Color. You can use a Property Node with these properties to set the size and color of radio buttons controls.

  • Data binding properties—The PDA Module includes the following new data binding properties: Data Binding:Binding Type, Data Binding:LED Visible, Data Binding:Mode, Data Binding:Path, and Data Binding:Status. You can use a Property Node with these properties to return information about the data connection, configure the mode of the data connection, and show or hide the data binding indicator.
  • Text property—You can use the Text property to read from or write to a string control or indicator. You also can use the Text property to read from or write to the labels of controls and indicators.
  • Waveform graph cursor properties—You can use the Allow Drag and Cursor Legend Visible properties with waveform graphs. Use a Property Node with the Allow Drag property to allow users to move the cursor in the plot area. Use a Property Node with the Cursor Legend Visible property to display the cursor legend for the waveform graph.

Resources


 

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