How to get the time of a running event?
2 次查看(过去 30 天)
显示 更早的评论
I created a daq session to monitor the voltage change, and I need to get the time of the event at some timepoint. I tried listener, but it greatly slows down the system. What I need is the time of the event at the point that an internal trigger starts. Is there anyway I can access the immediate time of the running event?
Thanks
0 个评论
采纳的回答
Varun Bhaskar
2015-8-28
Hi,
You can use the tic-toc mechanism to start timing when the trigger is issued, and stop at the point where you want to measure the running time. toc - tic will give you the running time.
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!