LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Formula node help?

I am new to Labview and I'm trying to calculate an area based on the a formula.  The error message says array indexing expected, but I don't have any arrays feeding into the formula node.  Does anyone know how I could fix this?  Here's a snapshot of the block diagram.  Thanks! Formula node.JPG

0 Kudos
Message 1 of 5
(2,816 Views)

original.jpg

 

Check the width of the wire going as input to 'd'... that an array...!!
It might contain just one element or may be multiple elements...!! So use 'Index Array' and convert it into a scalar value...!!

 

Use index array.png


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


0 Kudos
Message 2 of 5
(2,808 Views)

Thank you so much!  It is still showing an error message-missing left parenthesis.  Then it says Error on line 1 is marked by a '#' character: "A=(b-c*d)/((b+c)(#1-d);"

0 Kudos
Message 3 of 5
(2,779 Views)
That seems strange. you have one more left parenthesis than right, and there seems to be a missing operator between the "(b+c)" and "(1-d)"

Rod.
0 Kudos
Message 4 of 5
(2,773 Views)

Oops yea that fixed it.  Thanks!

0 Kudos
Message 5 of 5
(2,769 Views)