Introduction
What the article/code snippet does, why it's useful, the problem it solves etc.
i am trying to real all the data send from a device connected on serial port RS232 on my computer. this is only a part of a large project that i am working on. i want to capture all the data (text) from the device into a richtextbox. and after that to do somenting with the data.
but when i use the code below..... I get nothing. if instead of
//RichTextBox1.Text = SerialPort1.ReadExisting() ' i use
//RichTextBox1.Text = SerialPort1.ReadLine()
then i get only the first line of the data.
if i use hiperterminal the i gel all the data with function capture text. the data looks like this
110326+00000501 21.102+00000000 22.102+09017910 32..10+00000000
110327+00000502 21.102+36190750 22.102+09767930 32..10+00000000
but i get only the first line with my code. can someone help me?
to receive data from device i run a program on device that send data to me.
code