Serial port time stamping question.
Afficher commentaires plus anciens
It's been a while since I've worked with MATLAB, so bear with me.
A few timing questions:
1.) What is the best way to timestamp data coming in on a serial port?
2.) What does MATLAB use to timestamp the data? Does using NTP make a difference?
Thank you for the help!
-Adam
Réponse acceptée
Plus de réponses (3)
Hydro9 Hisz
le 7 Juil 2011
0 votes
the now function or clock function is pulled from the system clock. If you want elapsed time between measurements without influence from the system try using the tic/toc functions with each iteration
Leonard Classen
le 27 Mar 2019
0 votes
Hi,
which NIDAQ box did you use?
best regards
Catégories
En savoir plus sur Clocks and Timers dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!