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 CenterFile Exchange 中查找有关 Data Acquisition Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by