Quote Originally Posted by yousifm View Post

My Question is, how can I export the data [ X[n],Y[n] ] from the PIC memory to PC main memory and save it as a file such as txt or Excel?

Thank you in advance

Yousif M.
Hi, Yousif

Considering the processors you use, serial comms looks obvious ...

have a look to SEROUT , HSEROUT and DEBUG commands that are used to send data through an RS232 connection to your PC.

After that ... you have to use VisualBasic or such programs to place your Data into a convenient .txt file.
Same VisualBasic commands style to load them to an Excel Sheet ...

Alain