Serial port time stamping question.
显示 更早的评论
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
采纳的回答
更多回答(3 个)
Hydro9 Hisz
2011-7-7
0 个投票
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
2019-3-27
0 个投票
Hi,
which NIDAQ box did you use?
best regards
类别
在 帮助中心 和 File Exchange 中查找有关 Clocks and Timers 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!