Go Down

Topic: Latency (Read 478 times) previous topic - next topic

jb3330333

Hey all,

I'm sending a signal to my Arduino Uno board via a Win32 C++ program. Would anyone know how I can check the time from when the signal is sent to the time the board receives it?

Thank You.

robtillaart

Let the Arduino echo the signal and let the C++ program measure the time, and divide it by two That should give you a fair approximation of the time needed.

This works in theory for any protocol you are using. It is the basis of the NTP protocol to synchronize computers time.

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy