05-19-2010 10:43 AM
Hi
How do I run 2 or more vi's at the same time, thus allowing me to interact with both without the need to close one. What I have is one main vi that allows me to manipulate data on a particular plot. I then what other vi's to pop up and stay open when needed showing the same data but on represented in a different way. Therefore as I change the data one my main vi I want it to show up simultaneously in the other plot/vis.
any help?
Thanks
05-19-2010 10:54 AM
05-19-2010 11:03 AM
05-19-2010 03:28 PM - edited 05-19-2010 03:30 PM
reza_sed wrote:Hi
How do I run 2 or more vi's at the same time, thus allowing me to interact with both without the need to close one. What I have is one main vi that allows me to manipulate data on a particular plot. I then what other vi's to pop up and stay open when needed showing the same data but on represented in a different way. Therefore as I change the data one my main vi I want it to show up simultaneously in the other plot/vis.
any help?
Thanks
See the two attached vi's. Download them into a common folder. Ref1 is the main. Run it. It calls Ref2. Ref 2 will stay open until the stop button on Ref1 is pressed. While Ref2 is open, change the numeric control on Ref1. Notice how the data display on Ref2 changes to match the main vi. You can do this with as many subvi's as you want. Just pass the numeric and boolean references to each.
This is just a simple example showing the use of control references. If you need to do other things in your main, you will have to open the subvi's dynamically as smercurio has mentioned. Search for dynamic launching to learn more about this.
12-02-2010 08:16 AM
Hello
could you attach the vis in an old version?. It could be 8.6 or 8.5 labview. I do want to run 2 vis and interact with both at the same time.I haven't figured out how to do that I think these files may help.
Thank you in advance