LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

what does this error message mean?

I just made a formula node with "y=exp(x)-x^2;" in it. but it says

Block Diagram Errors
Formula Node: integer type required
Error on line 1 is marked by a '#' character: "y=exp(x)-x^2;#"

what's this mean?

thanks

redoo
0 Kudos
Message 1 of 2
(2,302 Views)
Are you using LV 6.0 or higher? If you are then read this excerpt taken directly from LabVIEW help: "Note   The ^ operator, which in pre-6.0 versions of LabVIEW Formula Node stood for exponentiation, now represents the bitwise exclusive or (XOR) operation. The new operator for exponentiation is **, for example, x**y." Change your ^ to ** and you should be all set.

Hope this helps,
Brian
Message 2 of 2
(2,302 Views)