LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to programmatically signaling Menu selection (User)

I have an event case handling Menu selection(User) event. Now I wish to programmatically signaling the Menu selection (User). Is that possible in LV?

 

WT

LV2013SP1

0 Kudos
Message 1 of 5
(2,687 Views)

i.e. you want to highlight the menu which user need to select?

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 2 of 5
(2,671 Views)
The menu event is calling a subVI or just some code? You don't have to programmatically fire the menu, you just call whatever code the event does.
0 Kudos
Message 3 of 5
(2,664 Views)

The menu event starts calling a subVI and some code.

Yes, I can call the subvi/code at some case like the menu event does, respectively. But the question is, I already have the menu event function now and I don't want to repeat the coding. I just wish to programmatically fire the menu event when the case happens.

0 Kudos
Message 4 of 5
(2,578 Views)

Well then you could have a state machine, where you go to the "Menu Selected" state when the event is generated.  Or you can choose to go to that state in your application whenever you want.  Now you don't have code duplication and have once case that handles doing the work, and you can get there from multiple methods.

0 Kudos
Message 5 of 5
(2,575 Views)