Re: Com Port Response time measurement

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Connie (Connie_at_discussions.microsoft.com)
Date: 03/25/04


Date: Wed, 24 Mar 2004 23:18:26 -0800

thx for answering me! Then how can i find the approximated
time interval about that?

>-----Original Message-----
>Connie wrote:
>>
>> I need to measure the time interval between the sending
>> message time from Com Port and the requesting return
count
>> time from 8051. However, it cannot be measured. Could
>> any kind person give me any opinion?
>
>Windows is not a real-time OS.
>You have little-to-no control over many other things
which may interrupt whatever
>code you might be running in your attempt to measure
something. Reliable precision
>any finer than about half a tick (~0.03 seconds) is
flatly impossible.
>
>
>
> Bob
>--
>.
>


Quantcast