How to get the time of a running event?

2 vues (au cours des 30 derniers jours)
Simon
Simon le 26 Août 2015
Commenté : Simon le 4 Sep 2015
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

Réponse acceptée

Varun Bhaskar
Varun Bhaskar le 28 Août 2015
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.
  1 commentaire
Simon
Simon le 4 Sep 2015
It works, thank you so much.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by