フィルターのクリア

How to get the time of a running event?

1 回表示 (過去 30 日間)
Simon
Simon 2015 年 8 月 26 日
コメント済み: Simon 2015 年 9 月 4 日
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

採用された回答

Varun Bhaskar
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.
  1 件のコメント
Simon
Simon 2015 年 9 月 4 日
It works, thank you so much.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by