LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Working with mutiple windows at the same time

I'm using a rtm which selects various vi's, I want each of the vi's to up-date with data all the time as they are selected. The problem is that, as each one is selected the others stop receiving data. I have to highlight each one again I have tried to use Globals but this isn't working to well. Any idea's with examples would be handy
0 Kudos
Message 1 of 4
(2,710 Views)
If you call the VIs statically in the same loop when they are selected then data flow will prevent anything from happening until the one already running has stopped.

If you want them to run in parallell you'll have to call them so that they do not stop the data flow from calling the others...that means calling them in separate loops or dynamically using an invoke node with the wait until finished flag set to false.
Message 2 of 4
(2,710 Views)
Thanks for your help, one other question, you said use invoke node with the wait until finished flag set to false. How is this done, have you any sample code I could look at. I'm still getting caught up in loops with this menu thing. Thanks.
0 Kudos
Message 3 of 4
(2,710 Views)
It sounds as though the various VI's are all supposed to be running in parallel, so what is meant by 'selecting' them? If it's just to display or hide the front panel of the one that's selected, the loop that reads the menu selection can simply use property nodes to show or hide the front panel of each VI.
0 Kudos
Message 4 of 4
(2,710 Views)