How to check how many events/callbacks have been queued in Matlab
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I have a daq session that runs by startBackground(). It continuously samples analog channels and keeps firing an event and cause a DataAvailable callback whenever sampled data exceeds a pre-set size. However, sometime DataAvailable takes longer to execute, causing the event to be queued up. My question is:
Is there a way to check how many events are queued up?
Thank you!
0 Commenti
Risposte (1)
Sangeetha Jayaprakash
il 4 Apr 2017
It looks like you are trying to check how many scans are still queued after using "startBackground". Try using the functions 'ScansOutputByHardware' and 'ScansAcquired' below:
Vedere anche
Categorie
Scopri di più su Data Acquisition Toolbox Supported Hardware in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!