Receiving strings from Serial Port
Dear reader,
I want to read a string from a serial port. I found the sample code in Help, to
do this, with the following code:
Using com1 as IO.Ports.SerialPort = My.Computer.Ports.OpenSerialPort("COM1")
do
Dim Incoming as String = com1.Readline()
If Incoming is NOthing then
exit do
Else
returnStr &+ Incoming & vbCrLf
end if
loop
end using
The problem is that if the return string does not end with LineFeed, the
com1.ReadLine command does not return to the application, and as a result
doesn not return any value to Incoming, to check it contents.
The application give the impression that it is just hanging, untill I stop the application.
Also how does the Readtimeout property work. How can I get the ReadLine method
to timeout, if there was no message received.
I would appreciate any repoonse on this issue.

