Hi,
I wonder if anyone can help? I'm trying to put together a simulator
which contains a top level VI which acts as an options screen with options
to select. When an option is selected I want the corresponding subVI to
open in run mode. In each of the subVIs that open I want to have a button
which when pressed stops execution and closes the subVI and returns to top
level options VI. I've so far tried using a combination of the VI set-up
options for the subVI to Open when Called, and Close if originally closed,
along with the "opening VI References" to the VI, using a property node in
the main menu VI to make its panel Visible or not.
The results I have achieved so far is that I can select an option and it
will open the subVI,
but not in run mode. How do I get it to do this. I've
tried using the execute when opened option on the property node but don't
think I'm doing it right. I can only manage to open the subVI in run mode
when I open it separately on its own due to the settings in the VI set-up
options, but not from the options VI. With regards to the return to options
VI button, at present this stops subVI execution, but I'm having trouble
linking this with the options screen so that it closes the subVI down.
Does anyone have an example VI that shows how to link VI's in this sort
of way? Any help would be greatly appreciated.
Regards,
Martin.
PS. In the online help there is a VI called "Open VI", but I cannot find
this anywhere in the Labview library?