Subvi display is not updated is open

I have a USB data acquisition application, I want to put all the graphs on a Subvi front.  When a user clicks on the button "Chart" on hand Vi, the Subvi should open and keep up to date while it is open.  But I can't the Subvi to update when it is open.  It's a program that I wrote to simulate the problem I attached.  The second loop in the VI main will not run as long as the Subvi is open, that's why the new data are not withdrawn.  Can someone please take a look at my code and see how I can solve this problem? Thank you.

Here is a very primitive example that illustrates the main idea. Remember, you do not need to query the queue. Just wait for the next item (always!). The loop stops once the queue is destroyed.

Tags: NI Software

Similar Questions

Maybe you are looking for