Overview
The example demonstrates how to use custom run-time menus.
Description
You can create your own menus in LabVIEW while your VI or exe is running. You can choose to edit the menus that are already there (e.g. File, Edit, View, etc.) or you can create your own categories. This functionality is accessible by going to Edit»Run-Time Menu...
The Event Structure in LabVIEW can handle inputs to user-defined menus. In the VI attached, change the state of each Boolean indicator by using the menu options.
Requirements
Software
- LabVIEW 2012 Base Development System (or compatible)
Hardware
- No hardware is necessary to use this example VI
Steps to Implement or Execute Code
- Open the attached file
- Make sure that the Run-Time Menu File 'Custom menu.rtm' is in the same folder as the VI
(If the file is not present you will not receive an error, but the custom run-time menu will be missing)
- Run the VI
- Look at the run-time menu. Instead of the standard menu (File, Edit, ...) you will see a menu with which you can switch the colored LEDs on and off
Additional Information or References




**The code for this example has been edited to meet the new Community Example Style Guidelines. The edited copy is marked with the text 'NIVerified'. Read here for more information about the new Example Guidelines and Community Platform.**