How to breaks an endless loop with an external command of my device object (analog input) ?

1 回表示 (過去 30 日間)
Edith
Edith 2015 年 3 月 11 日
編集済み: Edith 2015 年 3 月 11 日
Hello. I am acquiring data, in my code there is an ai.triggerRepeat defined as Inf, and my while loop: while i == triggerRepeat I need to stop may ai.triggerRepeat with an external command and then stop my while loop, but I can do it when I enter into a while loop it does not stop. How can I introduce a external command that can stop my loop.
Thanks a lot.

回答 (0 件)

カテゴリ

Help Center および File ExchangeData Acquisition Toolbox Supported Hardware についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by