Usage of project global constants

cancel
Showing results for 
Search instead for 
Did you mean: 

Usage of project global constants

95 Views
Contributor I

Hi All,

I want to show variables in FreeMaster as REAL values and Im wondering if it is possible to define the factor as project global constant.

In my example I would like to write ScaleCurrent instead of 0.00048828.

And somewhere else ScaleCurrent = 0.00048828.

Is this possible? What is the best way to do this?

pastedImage_1.png

Many Thanks in advance

Sami

0 Kudos
1 Reply

40 Views
NXP Employee
NXP Employee

Dear Sami,

you can store the parameter in the target MCU application as a value of a constant variable. Then you may define a FreeMASTER variable to access that value - set its Sampling Period to "once" as it is constant anyway. Then you may use that variable as a parameter in REAL value transformation of other FreeMASTER variables.

Regards,

Michal

0 Kudos