I am now sucessfully calling VIs dynamically, thanks Dennis. But I've
been struggling with showing the called VIs when I want to (and when I
don't), and unloading them after they are done. I've played around with
both the VI execution and window options in the VI itself, and using the
property node in the main.vi. I can't seem to get consistant results.
The windows open, but stay on the screen after finishing. If they do
dissapear, they still appear on the taskbar, so aren't being unloaded.
Also, if build the main.vi into an executable, it works in the window
created by the build application. But when I run the executable
independantly of Labview, the app doesn't seem to connet to the calling
VIs.
Any tips would be helpful.
Dennis Knutson wrote:
> I d
id something similar by reading the text file and changed the VI
> names to an array of paths. Make the vi path input to the Open VI
> Reference a control instead of hard coding a path. If you put the Open
> VI Reference inside of a loop and auto index the array of paths to the
> test VIs, you should get what you want.