DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Constants in Calculation Manager

Solved!
Go to solution

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."

0 Kudos
Message 1 of 3
(2,922 Views)
Solution
Accepted by topic author RussellSenior

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

Message 2 of 3
(2,886 Views)

That's a good idea, and that will fix some other things I was trying to figure out.  Thanks!  

0 Kudos
Message 3 of 3
(2,884 Views)