Click here to Skip to main content
15,887,875 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Can I send a 100 Hz message (one message sent every 10 millisecond with 100 bytes of data) in WIndows Operating System using an RS 422 serial communication card without loss of even a single byte ?

I am sending a 100 Hz data with 100 bytes in Windows Operating System using a RS 422 serial communication card. I am using windows timer for sending it every 10 milliseconds. But data is lost in every cycle. I miss 5 to 10 bytes every cycle. Can anybody provide any solution in Windows for this problem ?
Posted

You might check my reply here[^].
 
Share this answer
 
First, Windows is not a real time operating system, so you will never have an exact delay of 10 msec between two packets (it will be a little bit more).
Second, the amount of data you can send depends a lot on the baudrate you set on your serial port.
 
Share this answer
 
No, you can't (as user space developer you can't).
:)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900