Subpanel Not Working in EXE Application Built With LabVIEW

Updated Jul 31, 2026

Reported In

Software

  • LabVIEW

Issue Details

I am using subpanel controls to access the Front Panel of subVIs in my application. It works in the LabVIEW development environment but does not work when built as an EXE application.

Solution

This can happen if the block diagram of the subVI is removed during the building of the application due to default save settings. 

 

The solution is opening the Source File Settings category in Build Specifications and unchecking the Remove block diagram option:
 

Additional Information

If the issue persists after applying the steps above. Place the subVIs inside a Case Structure in the Main VI so they can be referenced at application startup without executing. 
 
Since these subVIs are intended for use in Subpanels, add them to the True case of the structure, and wire a False constant to the Case Selector terminal to prevent execution during initialization. The following capture demonstrates this approach: