Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/18/05 10:46
Read: times


 
#87867 - 3/4 milliseconds
Responding to: ???'s previous message
Massimo Battiston said:
Unfortunately seems that windows adds a minimun of 3/4 milliseconds between reception of result and send of next command. Maybe the timing are too critical for windows!

I presume "3/4 milliseconds" means "between 3ms and 4ms" rather than 0.75ms (three-quarters of a millisecond)?

The program running on PC side is developed in delphi using the VCL control CPORT. J tried both windows 98 /XP and get similar results.

Are you using the FIFO on your COM port?
It could be that it's waiting for the FIFO to fill, or for a 3-4ms timeout...

Some Windoze serial components I have seen have a separate thread that collects characters, and only forwards them to the main thread when it has a full buffer, or a timeout is reached.




List of 12 messages in thread
TopicAuthorDate
Windows and serial communication            01/01/70 00:00      
   Delphi component            01/01/70 00:00      
      C++ Builder Component            01/01/70 00:00      
      thanks!            01/01/70 00:00      
   3/4 milliseconds            01/01/70 00:00      
      More precisely...            01/01/70 00:00      
         Poll Start - Poll Stop Commands            01/01/70 00:00      
            Windows timing            01/01/70 00:00      
               Win Timers            01/01/70 00:00      
         Unsolicited Responses            01/01/70 00:00      
         Some Practical Experience            01/01/70 00:00      
            Thanks for the suggestions            01/01/70 00:00      

Back to Subject List