LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why the 3rd shortcut menu doesn't take effect?Thanks.

Solved!
Go to solution

LittleBigPig_0-1608286592303.png

 

Download All
0 Kudos
Message 1 of 5
(1,053 Views)
Solution
Accepted by topic author LittleBigPig

Your Item Tags are "C" and "F", not "True" and "False".

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 2 of 5
(1,036 Views)
Paolo, Item Tag only true or false? How to make it used like Enum if I have 3 or more items?Thanks
0 Kudos
Message 3 of 5
(998 Views)

Item Tags are strings. If you need to manage more than two options, you can add a case to the Case Structure accordingly (right-click, then choose Add Case After or Add Case Before, then edit the new case value). Of course, when you wire a boolean to the Case Structure input, like in (2), you can have no more than two cases.

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 4 of 5
(960 Views)

Menu item tags are less than user-friendly because they don't auto-update.  This can be a pain, but if you create your menu at runtime, you could use globals for your tags.  It's more work than using the menu editor, but it's more flexible.

 

Actually I guess this wouldn't work completely, as your cases need manual updating.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 5 of 5
(952 Views)