Get data from DAQ background session
1 次查看(过去 30 天)
显示 更早的评论
Hi!
I am recording analog data using the session-based interface of the data acquisition toolbox as described in the documentation: http://www.mathworks.com/help/daq/ref/daq.session.startbackground.html
I use continuous acquisition, because I never know how long the acquisition will last. I know how to grab data with the DataAvailable event and a listener, but how do I get the very last batch of data that was collected between the last firing of the DataAvailable event and the call to stop() to end acquisition?
This might seem like a small problem. However, to conserve system resources, I want to set the interval between DataAvailable events to a long time (this is possible via the NotifyWhenDataAvailableExceeds property), so that the event would never actually be fired because the acquisition is stopped again before it fires for the first time...
Please let me know if my question is not clear.
Thanks!
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Acquisition Toolbox Supported Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!