10-15-2019 04:13 AM
hi friends,
i want to do a simple equation using formula node. just plus, subtract and .times.
why it gets an error? i'm sorry i never using math formula before. I've attached my VI. Thankyou
10-15-2019 04:50 AM
10-15-2019 05:35 AM
@pahlevi28 wrote:
hi friends,
i want to do a simple equation using formula node. just plus, subtract and .times.
why it gets an error? i'm sorry i never using math formula before. I've attached my VI. Thankyou
Mz = b*(-c+d)+a(e-f);
Well, what operation are you performing on the "a" and "(e-f)" operands? Perhaps you meant Mz = b*(-c+d)+a*(e-f); or Mz = b*(-c+d)+a/(e-f);?
Of course the nodes are expecting SCALAR values rather than arrays of 100 points
10-15-2019 09:56 AM
@GerdW wrote:
Hi pahlevi,
the error description in the error dialog is quite clear…
Why do you need a formula node at all? Why not use simple math functions from numerics palette?
hm ok GerdW, thankyou for your advice.
10-15-2019 09:59 AM
@JÞB wrote:
@pahlevi28 wrote:
hi friends,
i want to do a simple equation using formula node. just plus, subtract and .times.
why it gets an error? i'm sorry i never using math formula before. I've attached my VI. Thankyou
Mz = b*(-c+d)+a(e-f);
Well, what operation are you performing on the "a" and "(e-f)" operands? Perhaps you meant Mz = b*(-c+d)+a*(e-f); or Mz = b*(-c+d)+a/(e-f);?
Of course the nodes are expecting SCALAR values rather than arrays of 100 points
this one actually Sir. Mz = b*(-c+d)+a*(e-f)
i'm sorry for typo.