Advertisement

There's no such thing as a stupid question, but they're the easiest to answer.
Login
Search

Advertisement

Software Development Software Development
Search Search
Search for:
Tech Support Guy > > >

Solved: Visual C# Serial Port - Semaphore Timeout


(!)

jfm429's Avatar
jfm429 jfm429 is offline
Computer Specs
Senior Member with 177 posts.
THREAD STARTER
 
Join Date: Jun 2007
Experience: Advanced (Mac OS 10.6)
15-Oct-2009, 04:43 PM #1
Solved: Visual C# Serial Port - Semaphore Timeout
I am trying to connect to a serial device. The sp.Open() method throws these two exceptions in the Output window:

The semaphore timeout period has expired
A first chance exception of type 'System.IO.IOException' occurred in System.dll

What's going on here? I'm running Windows 7, and using the exact same code that was already tested and worked perfectly on Windows XP. No code changed, and the hardware is identical - just the OS changed.
dock98's Avatar
dock98 dock98 is offline dock98 has a Profile Picture
Computer Specs
Member with 65 posts.
 
Join Date: Jun 2007
Location: rainbow valley,az,usa
Experience: Intermediate
15-Oct-2009, 09:37 PM #2
are you sure the device is supported by windows 7?
aya09's Avatar
aya09 aya09 is offline
Junior Member with 1 posts.
 
Join Date: Oct 2009
Experience: Intermediate
16-Oct-2009, 01:32 AM #3
I'm also having problem sharing and setting up adhoc network in Windows 7. You may try checking out the Adapter properties
like what I do everytime I had problem in network.
jfm429's Avatar
jfm429 jfm429 is offline
Computer Specs
Senior Member with 177 posts.
THREAD STARTER
 
Join Date: Jun 2007
Experience: Advanced (Mac OS 10.6)
16-Oct-2009, 08:22 AM #4
Quote:
Originally Posted by dock98 View Post
are you sure the device is supported by windows 7?
I think so. It's a very recent Bluetooth chip that WIndows 7 automatically found drivers for, so it (should) be compatible. However, I also read on Google that the semaphore timeout error can actually be related to a hard drive read/write error, and that deleting the errant file can solve the problem? I have no idea where to look for this error, so I can't say if it's the problem or not. See http://forums.techarena.in/windows-s...elp/803210.htm for more info on that.
jfm429's Avatar
jfm429 jfm429 is offline
Computer Specs
Senior Member with 177 posts.
THREAD STARTER
 
Join Date: Jun 2007
Experience: Advanced (Mac OS 10.6)
19-Oct-2009, 11:20 AM #5
Solved. Turns out the Bluetooth device was faulty.

Seriously. A brand-new $850 robot with a faulty Bluetooth chip. Go figure.
As Seen On

BBC, Reader's Digest, PC Magazine, Today Show, Money Magazine
WELCOME TO TECH SUPPORT GUY!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.


(clock)
THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


WELCOME
You Are Using: Server ID
Trusted Website Back to the Top ↑