This example VI uses a run-time menu from the CheckMenuItem.rtm file, created using the LabVIEW 6i Run-Time Menu Editor. The run-time menu contains a new menu, My Menu, which has six menu items. Two of the menu items remain unused, and the VI links the other four menu items in the following way: when you select a menu item, the VI marks the selected item with a check. You can only check one of the four menu items at a time. Selecting one of these four menu items automatically unchecks any previously checked menu item in the group.
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.