Writing Data to a File in CodeWarrior

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Writing Data to a File in CodeWarrior

1,030 次查看
scottgaetjens
Contributor I

Hello.  I am trying to write the data taken from the line scan camera to a file so that my team and I can look at it and plot it in excel to make sure our code is correct.  I've tried using standard libraries like stdio.h and fstream.h to do this, but CodeWarrior seems to have no clue what those are.  Below is a screenshot of my code.  Any suggestions would be greatly appreciated!

 

20871_20871.pngCapture.PNG.png

标签 (1)
0 项奖励
回复
1 回复

858 次查看
TICS_Fiona
NXP Employee
NXP Employee

Please replace the MSL C library with the one that supports FileIO, the libraries should have been placed under CodeWarrior installation folder. And usually user can find such information in Compiler Manual or Build Tools Reference Manual, which are also included in CodeWarrior folder.

For details, please reply the CodeWarrior version you are using, as well as the part number of your MCU or Processor. Thanks!

Fiona Kuang

Technical Information & Commercial Support

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复