LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Menu selection and event structure

I have created a run time shortcut menu using cut as application item.

But i want to select cut menu option by button value change event. Is it possible?

 

0 Kudos
Message 1 of 6
(3,664 Views)

Hi 30904407,

 

You might want to take a look at this tread.

 

Hope it solves your problem,

Kind regards,

- Bjorn -

Have fun using LabVIEW... and if you like my answer, please pay me back in Kudo's 😉
LabVIEW 5.1 - LabVIEW 2012
0 Kudos
Message 2 of 6
(3,661 Views)

I saw that thread. In that they have duplicated the action for button and menu selection. I cant duplicate the action because I am using cut as application item. this option runs using the cut function from the LabView main menu itself. So its difficult for me to duplicate it.

0 Kudos
Message 3 of 6
(3,654 Views)

Hi,

 

Aren't you using some kind of a state engine.

 

if you are, then it's fairly easy to queue the state you want to execute from 2 different events.

 

1) event from menu => queue to "do action"

2) event from button => queue to "do action"

 

This is what state-engines can be used for.  If you don't know how to use them, please ask.

Kind regards,

- Bjorn -

Have fun using LabVIEW... and if you like my answer, please pay me back in Kudo's 😉
LabVIEW 5.1 - LabVIEW 2012
Message 4 of 6
(3,631 Views)

Please don't start new threads with the same question.

 

Continue in your original thread.  http://forums.ni.com/t5/LabVIEW/Event-Structure-and-Menu-Selection/m-p/1477648#M559618

 

I guess you just wanted to swap the order of the title?

0 Kudos
Message 5 of 6
(3,625 Views)

I have used cut as application item in run time menu.. So I have not created any case structure for that in menu selection. Can state engines be used for this.. If yes, please explain me how to do it..

0 Kudos
Message 6 of 6
(3,608 Views)