01-13-2011 05:26 PM
I am trying to create an executable vi that will call out another vi and show its front panel in the executable. When I try this I recieve this error message "top level vi (my main vi) was stopped at unknown on the block diagram of (my sub vi)
01-13-2011 07:19 PM
YUP,
the executable runs on the LabVIEW run time environment as compiled code. If you try to call a sub-vi that was not in the dependancies of the build the caller would need to recompile. the run-time engine has no compiler- so the app crashes
01-13-2011 07:45 PM
How do I call them out in my dependancies then.
01-13-2011 08:58 PM
Well the most common way is to enclude the vi's in the build spec either directly in the dependancies that the App builder automatically generates OR by declaring them in the build spec as "additional enclusions" (like you must do for dynamic vi calls in your app.
I have heard rummors about My.app Stuff.vi in a nugget Intaris posted- and I've wanted to dig deaper into Intaris' claims- but have not tried it myself.
If you go down the stuff.vi route Keep us curious guys posted
01-13-2011 09:33 PM
Thank you for your help I figured it out. The remove front panel and remove block diagram boxes were checked under source file settings in the application builder.