Hi Jay,
Normally, CW produces this error is because the pe component setting is not correct, thus it can't generate code.
please check your pe component setting.
if you can not find the problem, please upload your project here, I will check the problem directly on your project.
Have a great day,
Jennie Zhang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------