From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
07-15-2010 02:51 PM
I want to open 10 copies of the same VI, and still have full use of each of the 10 front panels and the data associated with each instance. I have one VI that is called Furnace Control. It is called by another VI, called Main Panel. The Main Panel has 10 buttons, and each button is supposed to open a separate copy of the Furnace Control VI for each of my 10 furnaces. I have made Furnace Control VI re-entrant with clones for each instance, but this fails to achieve my goal. I have read conflicting threads saying that vit's are the way to go, while other threads say that re-entrant vi's are best.
I am going in circles here trying to figure this out. thanks for the insight
07-15-2010 03:08 PM
i guess i wasn't using the right search words. but i found this, in case other people have the same issues.
i had been using vit's for a longtime, but i am looking to avoid the annoying save messages once i want to close each instance of the template. is there a way to ignore the save before quitting message?
07-16-2010 02:15 PM
Hi,
If you are looking to save changes, then you can programmatically save the VI's at the end of your program; but I'm not sure if this would actually help you or not. You could also call the "Quit LabVIEW" function if you are wanting to close out of LV altogether. However, I don't believe that you can get rid of this dialog box altogether.
Cheers,
07-16-2010 02:27 PM
A reentrant vi would be the best way to do this. If you are not going to do anything but pass data to and from this VI.
07-16-2010 02:31 PM
Make sure that you have set the reenterant mode properly so that it can be reused.
04-24-2011 11:05 PM
Please, I need help with this....
I'm trying to open multiple instances of a subVI, I made a small project following your advises, but I can't make it work, and I don't know what is wrong.
I use a Event Structure to register when a button is pressed and it calls the subVI. My goal is that, everytime I press the button, a new instance of the subVI is opened, no matter if there are another instance in the screen.
Thanks!
04-24-2011 11:44 PM
Don't use the Call by Reference node.
You need to use a VI server reference to open and run the VI. Take a look at this message thread for how to do it.