# LabVIEW

cancel
Showing results for
Did you mean:

## Missing right parenthesis help (they all seem to be there)

I am using a formula node for the quadratic equation.  I can not find where the parenthesis is missing. Every time I add one where it says the error is it doesn't do away.  Any suggestions?

Message 1 of 7
(3,055 Views)

## Re: Missing right parenthesis help (they all seem to be there)

Shouldn't there be a multiply between the ")("?

(There are quite a few more multiply operations missing. Find them!)

(... besides, you would not have this problem if you would use normal graphical programming instead of text nodes 😄 Try it!)

Message 2 of 7
(3,033 Views)

## Re: Missing right parenthesis help (they all seem to be there)

Try replacing the ** with something else.

Message 3 of 7
(2,981 Views)

## Re: Missing right parenthesis help (they all seem to be there)

@natasftw wrote:

Try replacing the ** with something else.

The ** is one of the very few things that is correct here. 😄

(you might be thinking of the formula parser VIs, see here.)

Message 4 of 7
(2,977 Views)

## Re: Missing right parenthesis help (they all seem to be there)

@altenbach wrote:

The ** is one of the very few things that is correct here. 😄

Very true.  I just got super confused by the parenthesis in the OP's formula node.  There is such a thing as too many as it will start to cause confusion.  My advice here would be to remove all of the parenthesis and reexamine your groupings.

This is one of the places I, personally, actually find the formula a little easier to understand.  Any more than a few nodes for the math and I start losing track of the formula being built up.  Documentation becomes essential.

There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 5 of 7
(2,966 Views)

## Re: Missing right parenthesis help (they all seem to be there)

The only thing missing seems to be the sign between the paranthesis pairs. Since it's so normal to imply multiplication by just writing paranthesis together, just like stacking variables you'd assume/hope that'd work.

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Message 6 of 7
(2,952 Views)

## Re: Missing right parenthesis help (they all seem to be there)

@Yamaeda wrote:

The only thing missing seems to be the sign between the paranthesis pairs..

Also have a look at e.g. "4ac" or "1/2a" 😮

Message 7 of 7
(2,948 Views)