Hi Folks - I am testing out the ability of 'Substitute Variables.vi' and 'Eval Single-Variable Scalar.vi' in a very simple VI but I am getting a 'Bracket Problem at the end' error coming out of the latter. I thought I had the syntax on this basic formula correct. I have 5 left parantheses and 5 right paranthases. I use the ln(x) and exp(x) functions and several math operators including ** for exponentiation.
The string is: a1*exp((-4*ln(2))*((x-m1)/w1)**2) where x, a1, m1, and w1 are variables and x is the variable that will be evaluated in 'Eval Single-Variable Scalar.vi'
I am using the 'Substitute Variables.vi' to actually substitute constants for variables a1, m1, and w1.
It is concievable that the indicated error is pointing to something else that is incorrect.
Any help is appreciated.
Sincerely,
Don