LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

menu items have _1 appended when Get Menu Selection used

Solved!
Go to solution

 

I read in text from a spreadsheet file and I create menu items using Insert Menu Items.  The menu looks fine.  I click on the menu and I see the following:

 

My Menu

   Item A

   Item B

   Item C

 

I use Get Menu Selection to see which one the user has selected.  When the user selects Item B the item tag returned to me by Get Menu Selection says "Item B_1"  The same for the other choices.  

 

I have been using Get Menu Selection for a long time without a problem.  The only difference here is that some of the items in My Menu also appear in My Other Menu.  Is it possible that item tags must be unique across all menus? And if so, how can I work around this?

0 Kudos
Message 1 of 2
(2,229 Views)
Solution
Accepted by David_Lieberman

David Lieberman wrote:

 

Is it possible that item tags must be unique across all menus?


Yes. This is specified in the LabVIEW Help.

 


And if so, how can I work around this?


You can't. They have to be unique. You can always set the tags yourself. As long as they're unique.

 

0 Kudos
Message 2 of 2
(2,228 Views)