DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

channel names in formulacalc

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.

 

0 Kudos
Message 1 of 2
(5,270 Views)

Please ignore this request for help - I made a mistake in the code.

 

Thanks.

 

Simon.

0 Kudos
Message 2 of 2
(5,264 Views)