Good day everyone
I want to convert HVACI_Scalar project from fixed poin to float and met with the error "expression must have integral type" on SWGENMF_MACRO.
It looks like the problem is in bit shifting " >>"
I tried to use algarithm described in SPRC990 (IQmath user`s guide) But it doesn`t work.
svgen_mf1.Gain = (int16)(32768.0L*vhz1.VoltOut);
svgen_mf1.Freq = (int16)(32768.0L*SpeedRef);
SVGENMF_MACRO(svgen_mf1);
Thank you for any help
Andrey