justhininabouti
New member
- Joined
- Apr 17, 2010
- Messages
- 1
- Programming Experience
- Beginner
I'm VERY new to VB, and haven't coded since the TRS-80 days. I;m attempting to write code to read several NMEA ports and format the data for archive. When I execute the following code:
Using Commportno As IO.Ports.SerialPort = _
My.Computer.Ports.OpenSerialPort(portName:=port)
Dim Incoming As String = Commportno.ReadLine()
on a port with the device turned off, the readline instruction hangs. can someone point me in the right direction to handle this exception.
Tia
Using Commportno As IO.Ports.SerialPort = _
My.Computer.Ports.OpenSerialPort(portName:=port)
Dim Incoming As String = Commportno.ReadLine()
on a port with the device turned off, the readline instruction hangs. can someone point me in the right direction to handle this exception.
Tia