Formula Nodes
Formula Nodes have the following restrictions in PDA and Touch Panel VIs:
- You must use strict C code or LabVIEW cannot build the VI into a PDA or Touch Panel application. LabVIEW does not check for strict C code at edit time.
- Formula Nodes in PDA and Touch Panel VIs do not support arrays and clusters.
- You cannot define variables inside of a Formula Node. For example, int x; and double y; result in an error when you build the VI into a PDA or Touch Panel application. The only way to create variables in a Formula Node is to create the variables as inputs and outputs.
- Formula Nodes in PDA and Touch Panel VIs do not support the ** power function. To perform a power operation in a Formula Node, you must use the pwr() function. For example, replace Y=X**4; with Y=pwr(X,4);.
- You cannot declare data types for the inputs or outputs. All Formula Node outputs are floating-point values.
Conditional Disable Structure
Use the Conditional Disable structure to execute a subdiagram based on the target operating system.
When you add a subdiagram to the Conditional Disable structure, you must enter the target name in the Value text box in the Configure Condition dialog box exactly as follows:
| OS |
TARGET_TYPE Value |
| Pocket PC |
PocketPC |
| Windows Mobile |
PocketPC |
| Windows CE |
PocketPC |
Event Structure
When you use an Event structure in a PDA or Touch Panel VI, use the Coords item, which is a cluster. Do not use the individual Coords.Vertical and Coords.Horizontal elements because the individual elements always return 0 instead of the coordinates.