08-27-2013 07:43 AM
Hi,
I have seen cases where FormulaCalc works with new channels that have not been previously assigned (or 'allocated') and cases where it doesn't.
These two cases work:
FormulaCalc("ch('StMean'):= (Ch('[1]/STL')+Ch('[1]/STR'))/2")
FormulaCalc("ch('Rack Force'):= -Ch('[1]/Left Track Rod')+Ch('[1]/Right Track Rod')")
but this one doesn't:
FormulaCalc("ch('RefAngle'):= Ch('[1]/HWAngle')/15.4")
In all three of the above cases, the channels on the right hand side are pre-existing and the assigned channel on the left hand side does not exist prior to the call of FormulaCalc.
Why does it work sometimes but not others?
Many thanks.
Simon.
08-27-2013 07:50 AM
Please ignore this request for help - I made a mistake in the code.
Thanks.
Simon.