Plot on separate thread in App Designer

5 views (last 30 days)
Jacopo Morosi
Jacopo Morosi on 22 Oct 2019
Answered: Alexander Kramlich on 19 May 2021
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!

Answers (1)

Alexander Kramlich
Alexander Kramlich on 19 May 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?

Categories

Find more on Data Acquisition Toolbox in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!