Hello Everyone,
I would like to know if the following is possible:
I have my main VI with an event structure which calls different SubVIs. Intern, each SubVI has its own event structure which is used to perform its own tasks (the front panel is enabled in modal so the user can only interact with this SubVI) . When the user is finished, the SubVI closes and the program returns to the main VI. Each SubVI has its own controls, shift registers, etc
Each time I want to create a new SubVI with an event structure, controls, shift registers I have to repeat it over and over manually and this is time consuming and monotonous. Is there a way to create a SubVI template and be able to use it multiple times? After creating a SubVI template, I can create an additional copy but this copy will have all the controls and SubVIs still pointing to the original template SubVI.
Example:
SUBVI A
CONTROLS_1 A
CONTROLS_2 A
SUBVI_1 A
SUBVI_2 A
If I copy SUBVI A, calling it SUBVI B, I will get the following:
SUBVI B
CONTROLS_1 A
CONTROLS_2 A
SUBVI_1 A
SUBVI_2 A
But I want the template to do this:
SUBVI B
CONTROLS_1 B
CONTROLS_2 B
SUBVI_1 B
SUBVI_2 B
And then I can use it over and over:
SUBVI C
CONTROLS_1 C
CONTROLS_2 C
SUBVI_1 C
SUBVI_2 C
I really hope my explanation is not garbage.
Thank you