Processing data while acquiring

1 回表示 (過去 30 日間)
Erik S.
Erik S. 2014 年 11 月 1 日
コメント済み: Harry 2014 年 11 月 1 日
I am exploring the possibility to use Data Acquisition Toolbox for a project where I have to do a non-linear regression of the acquired data. I expect the time of processing would be longer than the time between consecutive samples
1a) When acquiring data in the background is it possible to process it while collecting the data?
1b) In the documentation there is an example of plotting live data, should I replace the function handle when creating the listener with a call to my processing function?
2) If the processing is slower than the data sampling rate will I start to loose data or is the data stored in some buffer which my processing function can retrieve the data from?
Thank you for any help Erik
  1 件のコメント
Harry
Harry 2014 年 11 月 1 日
In response to 2, you can choose. Either you can save all the data and process it 'offline' (afterwards)... or you can process in real-time and discard any data that you don't have time to process.

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

回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by