P
pavel.orehov
Hi,
I am using .Net SerialPort class to read binary data form COM port. The
problem is that i am getting some bytes of data corrupted. Some of
bytes are changed by ParityError byte (default=63). Strange that i
don't get an error event.
Here are the configuration of the port:
portConf.PortName = "COM1";
portConf.BaudRate = 4800;
portConf.DataBits = 8;
portConf.Parity = Parity.None;
portConf.StopBits = StopBits.One;
Besides i have the other application on C++ on the same computer that
is working and reading correct data.
Any ideas ?
Thanks,
I am using .Net SerialPort class to read binary data form COM port. The
problem is that i am getting some bytes of data corrupted. Some of
bytes are changed by ParityError byte (default=63). Strange that i
don't get an error event.
Here are the configuration of the port:
portConf.PortName = "COM1";
portConf.BaudRate = 4800;
portConf.DataBits = 8;
portConf.Parity = Parity.None;
portConf.StopBits = StopBits.One;
Besides i have the other application on C++ on the same computer that
is working and reading correct data.
Any ideas ?
Thanks,