Reading from serial port causes mouse to stop responding

Hi All,

I am using the serial port in vs2005 and when I read from it, my mouse becomes unresponsive for a while. Sometimes it "comes back" i.e starts working again, and other times not.

My serial port is a usb to serial converter and my mouse is a usb optical.

I can only think that something is happening to the usb side of things.

The port is the standard system.io.ports serial port.

Thanks
LVL 1
nzfireAsked:
Who is Participating?
 
CollindsouzaConnect With a Mentor Commented:
http://blogs.msdn.com/bclteam/archive/2006/10/10/Top-5-SerialPort-Tips-_5B00_Kim-Hamilton_5D00_.aspx provides some good guidelines for using the SerialPort class and includes some simple examples.
0
 
nzfireAuthor Commented:
Hi Collindsouza,

Thanks for the link. I have been there several times previously to look for solutions! LOL
0
 
Mohamed ZedanCommented:
did you try connecting the mouse on another usb port which should be on another usb controller ?
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
nzfireAuthor Commented:
Will try that mohzedan,

I believe that it is currently on another controller... I will post back here when I test it.
0
 
nzfireAuthor Commented:
yes, it is on the same controller... :(
0
 
Mohamed ZedanCommented:
so when you moved the mouse to another usb port did it work ok ?
I think the issue is with the usb-serial cable some of them are of low quality and cause alot of problems sometimes... I worked with one from radio shack and it works perfectly :)
0
 
nzfireAuthor Commented:
Hi,

Ok, I think I have worked it out... the serial port in vs2005 has issues! LOL

I have created a delegate to deal with receiving the data and this seems to work ok...

Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.