LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I've got wrong results with equation box

When I create equation in C programation in an equation box, the result is wrong. Are there number formats not to use in equation box
Thanks
0 Kudos
Message 1 of 7
(2,881 Views)
Review the LabView help topics "Creating Formula Nodes" and "Formula Node Syntax". If you need more specific help than that, you'll need to post you VI or at least the contents of your formula node.
0 Kudos
Message 2 of 7
(2,881 Views)
Which version of LabVIEW?

sebastien wrote:
> When I create equation in C programation in an equation box, the
> result is wrong. Are there number formats not to use in equation box
> Thanks
0 Kudos
Message 3 of 7
(2,881 Views)
I've got the version 6.0
0 Kudos
Message 4 of 7
(2,881 Views)
What's the formula you entered?
0 Kudos
Message 5 of 7
(2,881 Views)
You should upgrade to 6.0.2. There was an issue with the formula node
and the way it parsed operators. Try rearranging the terms in your
statement. This was fixed in the maintenance upgrade.

sebastien wrote:
> I've got the version 6.0
0 Kudos
Message 6 of 7
(2,881 Views)
I finally find the problem. In fact when the equation box does an intermediaire operation with float terms, the result for the next intermediaire operation become an integer, so after many operation the end result is different.
I manage to have the right result, doing my operation outside the equation box.
Thanks for replies
0 Kudos
Message 7 of 7
(2,881 Views)