RS232 Problem

T

TRCSr

I have a program that communicates with an instrument via the RS232
interface. The program worked fine with the equipment, and a simulator that
I built for test on another WIN98 computer. However, with the new WinXP
computer there is no receiving of data from the port. If I go into the
Device Manager and disable and then re-enable the port, everything seems to
work fine. Any ideas as to why this is happening? My customer has a recent
WinXP computer that runs an earlier version of the program, but not the
latest versions, giving my "communications failure" response when it tries
to receive data.

Thanks for any insite into what is happening. I can give more info if
necessary. The ports are running at 9600 baud for one program and 19600 baud
for another. It occurs whether I use Com1 or Com2.

TRCSr
 
I

Ian D

TRCSr said:
I have a program that communicates with an instrument via the RS232
interface. The program worked fine with the equipment, and a simulator that
I built for test on another WIN98 computer. However, with the new WinXP
computer there is no receiving of data from the port. If I go into the
Device Manager and disable and then re-enable the port, everything seems to
work fine. Any ideas as to why this is happening? My customer has a recent
WinXP computer that runs an earlier version of the program, but not the
latest versions, giving my "communications failure" response when it tries
to receive data.

Thanks for any insite into what is happening. I can give more info if
necessary. The ports are running at 9600 baud for one program and 19600
baud for another. It occurs whether I use Com1 or Com2.

TRCSr

XP does not allow software to directly access I/O ports. For XP
you need a device driver that communicates with the port. You
will need an XP compatible version of the software.
 
T

Twayne

I have a program that communicates with an instrument via the RS232
interface. The program worked fine with the equipment, and a
simulator that I built for test on another WIN98 computer. However,
with the new WinXP computer there is no receiving of data from the
port. If I go into the Device Manager and disable and then re-enable
the port, everything seems to work fine. Any ideas as to why this is
happening? My customer has a recent WinXP computer that runs an
earlier version of the program, but not the latest versions, giving
my "communications failure" response when it tries to receive data.

Thanks for any insite into what is happening. I can give more info if
necessary. The ports are running at 9600 baud for one program and
19600 baud for another. It occurs whether I use Com1 or Com2.

TRCSr

Have you tried setting win98 compatability mode for it? That may well
get it to work for you. XP by default won't allow the method your'e
trying to use. It's part of the security of the program.

HTH
 

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

Similar Threads

Com Port error 13
RS232 SerialPort class 4
problem with rs232 interfacing 1
Capture RS232 Data 1
Purging the serial port buffers 3
purging the Serial Port 1
RS232 2
Capture RS232 data 3

Top