Serial Port already Open at startup

S

SteFetS

Hi all,

I have a problem with serial ports since I upgrade from an old PC with NT
4.0 to a new box running XP OS.

Here is the setup.

A scale reader that send data constantly from its serial port.

My bug is when I open my computer, the application I wrote that capture
data packets from the scale reader said that the COM PORT IS ALREADY OPEN.

If I shutdown the scale reader, restart the computer and my application and
boot the scale reader all is OK because the application have open the
serial port before Windows XP.

I don't want to shutdown the scale reader each time I boot the computer!
this have no sense for me.

Why Windows locked the Com port ?

How can I get rid of this annoying problem ? HELP !
 
B

BigJim

sounds like some type of software problem with the scale reader.
there maybe a fix at their web site or the only other thing that uses a
serial port address is a modem.
 
S

SteFetS

BigJim,

No, the problem is not de scale device but Windows XP because when the
setup was on a NT 4.0 Box, this bug was not there :)
 
B

BigJim

well I can tell you this, I have never seen a driver for nt that works with
xp.
I have seen some win2k drivers work. So what I am trying to say is nt and xp
are
different.
 
S

SteFetS

well I can tell you this, I have never seen a driver for nt that works
with xp.

Hi,

The problem is not a driver, it's Windows XP plug and play service.

Since the scale reader send data in continous mode, when XP boot, it detect
the data in the serial port and XP install a SERIAL MOUSE !

Now my problem is fixed, I have deactivate the serial mouse in the
Hardware configuration, reboot and VOILA ! I can use the com port for my
applicationn.

/fastdetect does not work in the boot.ini
/fastdetect=com1,2,3,4,5,6,7,8,9,10 does not work in the boot.ini

Hope this can help anyone !

SG
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top