?
Solved

Reading from serial port causes mouse to stop responding

Posted on 2006-11-27
7
Medium Priority
?
220 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
7 Comments
 
LVL 5

Accepted Solution

by:
Collindsouza earned 2000 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

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…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses
Course of the Month11 days, 16 hours left to enroll

752 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