フィルターのクリア

Get data from DAQ background session

3 ビュー (過去 30 日間)
Matthias
Matthias 2013 年 10 月 31 日
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 件)

カテゴリ

Help Center および File ExchangeSimultaneous and Synchronized Operations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by