From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Enabling/Disabling Menu Option depending on SubVI state

Hi,

My main applications uses menu system. I have options from main menu to call different modules (UI's). Now, when certain condition is met in one of the UI(subVi),i have to enable/disable certain option in main menu. What is the best way to do this?.

Thanks in advance.
0 Kudos
Message 1 of 2
(2,128 Views)
Hi,

I think you have to use "Set Menu Item Info" function for enabling/disabling the menus. you can find this function in functions pallet> All function> Application Control> Menu. You can find a boolean option "enable". All you have do is to set it true/false depending upon what you want its state to be.

I am attaching a .jpeg file for clarity.
Regards,
Sreedhar T
0 Kudos
Message 2 of 2
(2,119 Views)