From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
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?
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!
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.
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.
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.