Electricfred13
Member
I am banging my head trying to get EB Pro to convert simple math expressions.
Ex: 1
Pump conversion coming from a SCP instruction
O0 1.1 value at high 32760
I want to convert that value to a 0-100% range
Is their a way in EB pro to write an expression? I'm finding I am having to do multiple macro functions
short to float, float to float etc.. and it cuts off decimal values..not good
I am using :
% reading = (([Linear mA out] – 4)/16) x 100
Which works out fine in a calculator and the SCP instruction to PID works fine.
What am I missing and is their and easier way to do expressions ? and or conversions:smas:
Thanks you
Ex: 1
Pump conversion coming from a SCP instruction
O0 1.1 value at high 32760
I want to convert that value to a 0-100% range
Is their a way in EB pro to write an expression? I'm finding I am having to do multiple macro functions
short to float, float to float etc.. and it cuts off decimal values..not good
I am using :
% reading = (([Linear mA out] – 4)/16) x 100
Which works out fine in a calculator and the SCP instruction to PID works fine.
What am I missing and is their and easier way to do expressions ? and or conversions:smas:
Thanks you