LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

save different instances of generic program

when the user to pushs a button on a 'main' program, i want a 'thermal control' program to pop up. i want a new instance of the same 'thermal control' program to pop up every time the user hit the button.

Then - i want the user to modify the 'thermal control' program, and save it as something else. (saveing all the modifications as default parameters for next time) is this possible?
0 Kudos
Message 1 of 2
(2,517 Views)
If you want multiple VIs open at one time, one way is to a VI a VI template by saving it with a .vit extension. You can dynamically call a .vit any number of times and each time it will create a new instance. You can do a search for vit or look at the example here.

If you just want one window open at a time, open the VI
You could then probably just use the Make Current Value Defaults method and then the Save Instrument method and save it as different name, though you don't want to do this for built apps.

If you're just looking for a means of saving various test configurat
ions, I think it's a lot simpler to open a single VI that writes the settings to an ini file that can later be recalled.
Message 2 of 2
(2,517 Views)