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 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
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.