PORTS Forum

Ports and Interfaces => Serial Ports => Topic started by: Bit Twiddler on November 07, 2012, 05:35:01 pm

Title: RS232 & VB.net
Post by: Bit Twiddler on November 07, 2012, 05:35:01 pm
I have used the example code from the VB.net terminal and all works great.
I have a requirement where I need to change the baud rate of the VB.net application though say from 9600 to 115K baud. I have tried simply changing the baud value but it seems to hang in the COMPort_DataReceived function and an IO exception is created. I know this code is using threads and I am sure this is the problem does anyone have any ideas of how to resolve this?
Title: Re: RS232 & VB.net
Post by: Jan Axelson on November 08, 2012, 09:56:29 am
What is the exception?