Only if it is possible to do so.
Have you been reading the rest of this thread that you have hijacked?
my problem is that once I send the data to the PC I cannot access the serial port from my GUI.
This is how my work look like.GUI(MFC)->Arduino->dc motor and a rotary encoder
I actually want to stream encoder positions to a text file.