I'm trying to make an array where the output is defined by the formula 25*(2^x) where x is the input variable, with integer iterations from 0 to 7. To do this, I made an formula node and put it in a for loop. Unfortunately the (^) symbol is not working right for the calculation. I tested it simply with x^2 and this did not work, while having x*x returned the correct values. Instead of outputting the correct values, it outputs seemingly random integers. Anyone know why? I am new to this software so I apologize if this this a common issue but I could not find help anywhere else.
Solved! Go to Solution.
The LabVIEW Help does explain the allowed operators (Help>Formula Nodes>Precedence of Operators). The '^' is a bit exclusive or. A '**' is exponentiation.