Custom Run-Time Menu Missing in LabVIEW Executable

Updated Sep 10, 2026

Reported In

Software

  • LabVIEW

Issue Details

I have created custom menu bar drop-down menus for my VIs in LabVIEW and when running them with an executable the custom run-time menus are missing

Solution

Custom run-time menus in LabVIEW executables are typically loaded using a menu file reference. If the menu file cannot be located at run time, the custom run-time menu may not appear in the built application.

 

To troubleshoot this issue:

  1. Include the run-time menu (.rtm) file in the executable build.
    • Run-time menus can be saved into a VI library (.llb) that is used to create the executable, which causes the menu to be included in the build.
    • Alternatively, add the .rtm file to the Always Included section of the build specification:
      • Build Specifications → Application (EXE) → Properties → Source Files.
      • Add the run-time menu file to Always Included.

         
  2. Use a dynamically determined menu path at run time.

    • After deployment, the executable may run from a different location than the development environment, causing static menu file paths to become invalid.
    • Programmatically determining the location of the deployed .rtm file and assigning the menu reference at run time can help avoid these path-related issues.

 

For detailed instructions on creating, customizing, and programmatically assigning run-time menus, refer to Customizing Menus Programmatically. This documentation includes step-by-step guidance and example code demonstrating how to dynamically configure run-time menus in LabVIEW applications.

 

Additional Information

When troubleshooting custom run-time menus in an executable, verify that:

  • The .rtm file is included in the build.
  • The .rtm file is deployed to the expected location.
  • Any run-time path used by the application correctly resolves to the deployed menu file.
  • The menu reference is updated programmatically if the deployed path differs from the development environment.

This version preserves the original solution, explains why it matters, and directly addresses the customer's request for implementation guidance by pointing them to the step-by-step tutorial and example.