10-11-2016 01:37 PM
Hello, is there a way to output constants in the calculation manager? I have tried to output a value, but I get an error (Object Required: 'CurrCalculationValues').
Specifically, I want to output the molecular weight of carbon. Since this is a constant 12.011g/mol I don't see how to put it into a value to use in other calculations. I don't want to enter the constant in every calculation that uses it as an input, I'd rather use the dependancy. (There are other constants that are a little more involved than this one).
I guess I can summarize my question as: "How do I use constant OUTPUT calculations as INPUTS to other channel calculations."
Solved! Go to Solution.
10-12-2016 09:59 AM
Hi Russell,
I recommend you output each constant to a property attached to either the Root, Group, or Channel level (whichever is more appropriate based on the scope of the constant). Then you can reference that property by as an input in subsequent calculations.
Brad Turpin
DIAdem Product Support Engineer
National Instruments
10-12-2016 10:09 AM
That's a good idea, and that will fix some other things I was trying to figure out. Thanks!