session based interface pause
4 次查看(过去 30 天)
显示 更早的评论
how to make pause for session based interface while running ?
0 个评论
回答(1 个)
Walter Roberson
2014-2-22
By default, the IsContinuous property is set to false and the operation stops automatically. If you have set it to true, use daq.Session.stop to stop background operations explicitly.
2 个评论
Walter Roberson
2014-2-24
You could set a timer() object to fire in 60 seconds that re-started the data acquisition.
It appears to me that sessions are not designed to be paused in this way; I do not know what the underlying representation is, so I do not have any idea how hard it would be for Mathworks to implement.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simultaneous and Synchronized Operations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!