Author Topic: RS232 & VB.net  (Read 12751 times)

Bit Twiddler

  • Member
  • ***
  • Posts: 1
RS232 & VB.net
« 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?

Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: RS232 & VB.net
« Reply #1 on: November 08, 2012, 09:56:29 am »
What is the exception?