I have a scale indicator that communicates via RS-485.
I purchased an RS-485/RS-232 converter that plugs into the com
port on the PC. I wrote a simple program that opens com1, sends
the appropriate command to prompt the scale indicator for the
weight, and then reads the weight from the buffer.
This program has run fine on my PC for a year. Now, I need to
move the hardware to another PC in our office, but I can't get
it to work! I've tried two other PC's and had no luck on either
one. I am using the OPEN "COM1: 9600,N,8,1,RS,CD,CS" AS #1
command to open the serial port. I have the serial port settings
under Win2000 set up the same for all three PC's with no flow
control. The working PC is a Compaq 750MHz Pentium II and the
two non-working PC's are 350 MHz Pentium Compaq's.
Does anyone have any ideas that I could try???
I purchased an RS-485/RS-232 converter that plugs into the com
port on the PC. I wrote a simple program that opens com1, sends
the appropriate command to prompt the scale indicator for the
weight, and then reads the weight from the buffer.
This program has run fine on my PC for a year. Now, I need to
move the hardware to another PC in our office, but I can't get
it to work! I've tried two other PC's and had no luck on either
one. I am using the OPEN "COM1: 9600,N,8,1,RS,CD,CS" AS #1
command to open the serial port. I have the serial port settings
under Win2000 set up the same for all three PC's with no flow
control. The working PC is a Compaq 750MHz Pentium II and the
two non-working PC's are 350 MHz Pentium Compaq's.
Does anyone have any ideas that I could try???
Comment