03-09-2012 12:10 PM
I have a vi that contains a subpanel that can run one of two vi's. When I run this in the LabVIEW environment everything works fine but when I compile it and run it the vi in the subpanel dos not execute. Any ideas on why this would occur?
Using LabVIEW 2010.
Thanks,
Scott
03-09-2012 12:17 PM
Have you remembered to include the front panels of your subVIs in the build?
When you're getting ready to build the application, go to the "Source Files" screen. Highlight the misbehaving subVI(s). Make sure that you have unchecked "use default settings", and make sure that the front panels of those subVIs are included.
If you've done that already, we'll probably need more information in order to help you!
03-09-2012 12:49 PM
I think the first thing to check is whether you included the subVIs in the build. Since they are called dynamically, you need to specifically add them.
03-09-2012 02:30 PM
An excellent point, if the subVIs are indeed called dynamically. The OP could be calling them statically, though. Without code, it's impossible to know for certain.
03-13-2012 06:46 AM
Thanks to everyone for the help. I got the vi's running properly in the subpanel now. I did as suggested and unchecked the use default settings and the app runs properly.