LabVIEW Embedded

cancel
Showing results for 
Search instead for 
Did you mean: 

Can formula nodes or expression nodes be used in touch panel Win CE targets?

I get an error when I try to build an executable for a touch panel Win CE5.0 target.
 
Error building executable. Unable to create file.
return is a missing VI or C file.
LRESULT is a missing VI or C file.
 
I have no sub vi's.  I do have a formula node.  When i remove the formula node the problem goes away.  Unfortunately, I need the formula node.
 
 
 
0 Kudos
Message 1 of 2
(6,076 Views)

Formula Nodes work a bit differently on WinCE Touch Panel targets.

Formula Nodes have the following restrictions in Touch Panel VIs:

  • You must use strict C code or LabVIEW cannot build the VI into an application. LabVIEW does not check for strict C code at edit time.
  • Formula Nodes in 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 an application. The only way to create variables in a Formula Node is to create the variables as inputs and outputs.
  • Formula Nodes in Touch Panel VIs do not support the ** power function. To perform a power operation in a Formula Node, you must use the pow() function. For example, replace Y=X**4; with Y=pow(X,4);.
  • You cannot declare data types for the inputs or outputs. All Formula Node outputs are floating-point values.
0 Kudos
Message 2 of 2
(6,047 Views)