Hello everyone !
I am trying to modify the code of the serial reading and displaying program ( available at :
http://lvr.com/files/com_port_terminal_cs.zip ) in such a way that it would also write the received data to a text file. I believe I need to integrate the following three code lines at different locations in the original code :
TextWriter tw = new StreamWriter("data.txt");
tw.WriteLine(newReceivedData);
tw.Close();
Can anybody help me in placing these code lines in the original code.
Thanks in advance.
Waqas