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.

cannot transfer data using input structure in code generated by sensor controller studio

Hi,

I generated some code using sensor controller studio, I can read the output structure which is defined in the scs, but I cannot write the input data, the error said

#137 struct "<unnamed>" has no field "input" scif_task.c .

I can see the definition of input in scif.h( second picture), so what could be the reason? thanks a lot.

  • Hello Di,
    It is working here.
    Have you made sure to generate the driver files from SCS again and tried to rebuild (clean project -> build project)?
    Is the scif.h file you are referring to in the screen shot above included in the Scif_driver folder?