cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

Need Help with Formula Node

Solved!
Go to solution
Highlighted

Need Help with Formula Node

Hello,

I'm trying to put the equation for the area of a cylinder into the formula node.

I got it working with operators. The formula node is giving me error messages and every time I fix whatever it wants me to fix... it still gives me the same error. It's always the error by the first X. it sometimes says "Missing Parenthesis" or "Missing Semicolon" and when I do add a parenthesis or a semicolon in that spot sometimes it'll continue to say it OR it moves on to another spot and continues to say the same thing until I have like 20 different parenthesis and semicolons. I don't think that's right.

Can anyone help?

Thanks!

Screenshot (1).png

0 Kudos
Message 1 of 4
(96 Views)
Solution
Accepted by topic author vomtidude
11-07-2018 10:44 AM

Re: Need Help with Formula Node

It seems like you are missing an asterisk after "pi" where you want to multiply it by the quantity in the parentheses.  I think you are missing other multiplications as well.

0 Kudos
Message 2 of 4
(90 Views)

Re: Need Help with Formula Node

oh, wow.

that worked, thanks!

I keep writing things in like how I would in math.

Didn't know it wouldn't recognize multiplication just by putting two variables together.

Again, thank you!

0 Kudos
Message 3 of 4
(81 Views)

Re: Need Help with Formula Node

Somewhere in Help there is a spot that will describe the syntax.

 

Your pure LabVIEW version can be greatly simplified.  You don't need to multiply 2 times pi.   There is a 2-pi constant in the numeric constants palette.  And you don't need to do it twice when you can reorganize the equation to multiply by 2pi at the end.

 

Example_VI_BD

0 Kudos
Message 4 of 4
(78 Views)