Solved

Reading from serial port causes mouse to stop responding

Posted on 2006-11-27
7
216 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
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

770 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