Solved

Reading from serial port causes mouse to stop responding

Posted on 2006-11-27
7
217 Views
Last Modified: 2010-04-23
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
0
Comment
Question by:nzfire
  • 4
  • 2
7 Comments
 
LVL 5

Accepted Solution

by:
Collindsouza earned 500 total points
ID: 18023018
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
 
LVL 1

Author Comment

by:nzfire
ID: 18024393
Hi Collindsouza,

Thanks for the link. I have been there several times previously to look for solutions! LOL
0
 
LVL 7

Expert Comment

by:Mohamed Zedan
ID: 18026781
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.

 
LVL 1

Author Comment

by:nzfire
ID: 18026971
Will try that mohzedan,

I believe that it is currently on another controller... I will post back here when I test it.
0
 
LVL 1

Author Comment

by:nzfire
ID: 18034257
yes, it is on the same controller... :(
0
 
LVL 7

Expert Comment

by:Mohamed Zedan
ID: 18035613
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
 
LVL 1

Author Comment

by:nzfire
ID: 18112999
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

Featured Post

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question