LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

freeze live data in seperate pop up window - Air compressor testing

Hello, I really need some help on this one....Smiley Sad
 
The VI I am running is measuring live pressure and thermal data, and has a valve controlled by a slider on the front panel. The user slowly closes the valve until the air compressor surges and at that point, the data needs to be recorded and displayed in a pop up window, all while still having control of the valves on the front panel(to open them back up).  Here is what I have been doing so far.  I have all of the necessary data writing to the global, and then I am displaying it by running a separate VI that is called out through the original VI.  However, once I activate the sub VI, it is freezing both the main VI and the sub VI. I have tried while loops, and for loops in both of my programs, but none of them give me the result I need.   I only want to freeze the sub VI data window while the main VI keeps running since I still need control of the valve.  On the contrary, I can pull my sub VI out of the while loop in my main VI, but then both VI's display the data live.  My whole point to this program is to "capture" the data at the surge point of the air compressor, and still be able to maintain control over the intake valve.  Then the data can be recorded from the pop up window after the surge point occured.  The surge point can only happen for a few seconds to avoid damage to the machine.
 
Thanks for any input...
0 Kudos
Message 1 of 4
(2,679 Views)
Here is a VERY simple example of what I am trying to do.  The random number generator put out a number, it is written to the global, and is displayed in the pop up window if the user presses the button.  The problem I am having is that the random number generator stops after it is recorded once.  If someone could show a simple way to have the random generator keep going after the window records it, I would really appreciate it.
 
Thanks
Download All
0 Kudos
Message 2 of 4
(2,674 Views)
Parallel loops with data passed by queues will do what you want if I understood you correctly. Look at these modified versions of your examples.

Lynn
Download All
Message 3 of 4
(2,667 Views)
Thank you, this is exactly what I was looking for.
0 Kudos
Message 4 of 4
(2,653 Views)