How to Hide the Menu Bar When VI is Running

Updated Apr 22, 2020

Reported In

Software

  • LabVIEW

Issue Details

Is it possible to hide the menu bar from the LabVIEW VI?

Solution

Yes, it is possible to hide the menu bar from the LabVIEW VI. Follow the steps below to hide the menu bar manually and programmatically. You can adapt them to hide the menu bar.

Manually:
  1. Launch LabVIEW.
  2. Create a new VI, or open an existing VI.
  3. Browse to File » VI Properties.
  4. Under the Category drop-down menu, select Window Appearance.
  5. Click the Customize button.
  6. Uncheck the Show menu bar option as shown in below picture. Notice the other available customization options.
  7. Click the OK button.
  8. Click the OK button again.
Programmatically:
  1. Launch LabVIEW.
  2. Switch to the block diagram (Window » Show Block Diagram).
  3. Build the block diagram shown in below snippet.

Additional Information

If you want to hide the menu bar when your vi is stopped, you should exit vi as soon as you stop vi.
Please refer to below snippet if you want to exit vi when the code finish.