quote: Originally posted by wabtec4 at topic 1629
I am using WriteFile on CE /3.0/4.1, my problem is this function outputs to serial port at an inconsistent speed, the variation is too big, for example: WriteFile( hComm, Buf, 200, &Written, NULL ); In most times, it works fine, delay between any 2 bytes is less than 1 ms, but sometimes, I noticed a big gap between 2 bytes, 100th byte & 101st byte for exapmle, up to 1600 ms, what's the problem? Another thread is reading hComm. Thanks,
Thanks for your post. Can you let us know which product and the ADS build number that you are using in these tests? Your baud rate will help, too.
We'll be glad to investigate. |