AnsweredAssumed Answered

FOC SDK 4.0 WebDist - no def for MCI_GetTorque

Question asked by rjl on Jul 3, 2014
Latest reply on Jul 14, 2014 by Gigi
Hi,
I just converted my project from Web Distribution 3.4 to Web Distribution 4.0 , and when compiling 

     signed16[sMECSPEEDREF01HZ] = MCI_GetMecSpeedRef01Hz(*myMCI);
     signed16[sAVRGMECSPEED01HZ] = MCI_GetAvrgMecSpeed01Hz(*myMCI);
     signed16[sTORQUEREF] = MCI_GetTorqueRef(*myMCI);
     signed16[sTORQUE] = MCI_GetTorque(*myMCI);

I get 

Error[Li005]: no definition for "MCI_GetTorqueRef" [referenced from C:\Program Files (x86)\STMicroelectronics\FOC SDK\STM32 PMSM FOC LIBv4.0\Web\Project\EWARM\UserProject\ 
STM32303C-EVAL_SINGLEDRIVE\Obj\rjl_modifications.o] 
Error[Li005]: no definition for "MCI_GetTorque" [referenced from C:\Program Files (x86)\STMicroelectronics\FOC SDK\STM32 PMSM FOC LIBv4.0\Web\Project\EWARM\UserProject\ 
STM32303C-EVAL_SINGLEDRIVE\Obj\rjl_modifications.o] 

These definitions are MCInterfaceClass.h, but not in MCInterfaceClass.c.
Since the speed commands work, I dont think it is a configuration problem.

Are these commands deprecated and replaced by something else?  What?  (Which is correct -- the .h file or the .c file??)

Thanks,
Robert

Outcomes