Plot on separate thread in App Designer

6 Ansichten (letzte 30 Tage)
Jacopo Morosi
Jacopo Morosi am 22 Okt. 2019
Hi All,
I'm developing an application using AppDesigner. My app has to perform real-time data acquisition and processing tasks. The problem I'm facing is the following: every time the acquisition of a data block has finished, I have to perform data processing because I have to see in real time the change of the parameters I'm measuring. Clearly, executing data processing and plotting right after every acquisition, makes the whole process a lot slower. I've mesured each plot on the same axis takes about 10 ms.
Thus, my question is: is there any way to move data processing and plotting to a separate thread, so that the measurement can run continuously and "as fast as possible"? I would like to implement something like Labview queues running in parallel. Is it possible?
Thank you for your help!

Antworten (1)

Alexander Kramlich
Alexander Kramlich am 19 Mai 2021
I would also like to do something similar. Is there a way to start a second thread or to start another app in a different thread?

Kategorien

Mehr zu Data Acquisition Toolbox finden Sie in Help Center und File Exchange

Produkte


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by