I am using more than one PCI-CTR05 board in my Simulink model. When I build code for xPC Target, I receive the following error:
Error executing build command: Error using ==> make_rtw Error using ==> tlc_c Error using ==> rtwgen --> Error evaluating 'InitFcn' callback of PWM block (mask) 'PCI-CTR05 --> '. Error using ==> mctr05checks Counter 1 on the board in slot [2 10] is also in use in another PCI-CTR05 block. --> Error evaluating 'InitFcn' callback of PWM block (mask) 'PCI-CTR05 --> 1'. Error using ==> mctr05checks Counter 1 on the board in slot [2 9] is also in use in another PCI-CTR05 block.
Best Answer