Hello,
I have been using a program that I created in C++ to control test equipment using the RS-232 interface. The computer running this program is a Windows XP laptop with a physical RS-232 port on the back. I recently tried to make the move to a Windows 7 laptop without a physical RS-232 port by using several USB to RS-232 adapters. Each one can write successfully, but reads garbage values (zeros). I did not change the affected code when I moved from one PC to the other and I didn't change the serial settings. Can someone explain why moving from a physical RS-232 port to an emulated one can cause this problem? Thanks.
Serial Device Specs:
Baud Rate: 115.2k Hz
Data Bits: 8
Stop Bits: 1
Parity: None
Flow Control: None
Terminator: Carriage Return Line Feed
I have been using a program that I created in C++ to control test equipment using the RS-232 interface. The computer running this program is a Windows XP laptop with a physical RS-232 port on the back. I recently tried to make the move to a Windows 7 laptop without a physical RS-232 port by using several USB to RS-232 adapters. Each one can write successfully, but reads garbage values (zeros). I did not change the affected code when I moved from one PC to the other and I didn't change the serial settings. Can someone explain why moving from a physical RS-232 port to an emulated one can cause this problem? Thanks.
Serial Device Specs:
Baud Rate: 115.2k Hz
Data Bits: 8
Stop Bits: 1
Parity: None
Flow Control: None
Terminator: Carriage Return Line Feed