From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
During our receive loop, we are getting the following problems:
1) we get spurrious noise from the incoming data (may be caused by hardware...) 2) we dont get the entire data, when size=25 bytes (we had to develop a workaround) 3) we cannot reset the receive buffer/comm port (when we timeout waiting for a receive, we want to clear everything there) - if we dont clear it, the next "interrupt", will append the incoming message with partial of last message.
Are these Win2000 vendor driver (of our RS-422 board) issues? I thought by using ReadFile() this would simplify communications?
I don't think we can really provide any help for these questions since you are using Windows SDK programming. CVI provides a library of functions for serial communications, but you aren't using it. You may find some information from Microsoft's web (msdn.microsoft.com) that helps.