This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi
if I am use this macro than
Description Resource Path Location Type
unresolved symbol __IQ24div, first referenced in ./main.obj HVACI_Ver0_1 C/C++ Problem
#define VHZ_PROF_MACRO(v) \
/* Take absolute frequency to allow the operation of both rotational directions */ \
v.AbsFreq = labs(v.Freq); \
if (v.AbsFreq <= v.LowFreq) \
/* Compute output voltage in profile #1 */ \
v.VoltOut = v.VoltMin; \
else if ((v.AbsFreq > v.LowFreq)&&(v.AbsFreq <= v.HighFreq)) \
{ \
/* Compute slope of V/f profile */ \
v.VfSlope = _IQdiv((v.VoltMax - v.VoltMin),(v.HighFreq - v.LowFreq)); \
/* Compute output voltage in profile #2 */ \
v.VoltOut = v.VoltMin + _IQmpy(v.VfSlope,(v.AbsFreq-v.LowFreq)); \
} \
else if ((v.AbsFreq > v.HighFreq)&&(v.AbsFreq < v.FreqMax)) \
/* Compute output voltage in profile #3 */ \
v.VoltOut = v.VoltMax;