Processing data while acquiring

1 visualización (últimos 30 días)
Erik S.
Erik S. el 1 de Nov. de 2014
Comentada: Harry el 1 de Nov. de 2014
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 comentario
Harry
Harry el 1 de Nov. de 2014
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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Data Acquisition Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by