10-04-2012 08:04 PM
Solved! Go to Solution.
10-04-2012 08:16 PM
You need to provide a little more detail in yiour question. Are you talking about opening new VI windows while you are working in the development environment, or for a user using your application while it is executing? What is it that each window is supposed to be doing so that you have two of them?
It sounds like you tried to do something so far. If it isn't working like you want, then post the VI so we can figure out what you are trying to do and see why it isn't working the way you want.
10-05-2012 06:35 AM
The picture attached shows what i want to achieve as a vi or executable...The new window button opens a clone of the vi, but the previous window can not be operated on until i close the clone window...i want to be able to work on both window at any time without closing one of them....The vi was design in labview 2010
10-05-2012 07:26 AM
Take a look at the example I posted in this thread.
The Nugget I never wrote.
It is not written to your specs but it does contain many of the elements you will need.
Ben
10-05-2012 08:16 AM
You made the VI reentrant, but that does not change LabVIEW's programming model of dataflow. Once you call the subVI the while loop must wait until the subVI is done since it is linked statically on the block diagram. As Ben's example shows, you need to launch the VI dynamically so that LabVIEW can launch it and return to your while loop. The only data that LabVIEW would be waiting on is the data generated from the VI Server functions used to launch and run the VI.
10-05-2012 08:59 AM
I have checked ben's example, is dat i am to dynamically call the reetrant vi when the new window button is pressed...
10-05-2012 09:06 AM
One other thing worth noting is that not only are you dealing with re-entrant VI's, they are also recursive, meaning the VI is actually calling itself. I believe that was something you could not do with LabVIEW until one of the fairly recent versions.
10-05-2012 05:27 PM