LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Detect User Menu Selection Event from another VI

Hello,

On this page http://digital.ni.com/public.nsf/allkb/17ABD66EA8DAA0A986256FDA0067641E I can see how to use VI Server to detect a change in a control's value from another VI.  I would like to do the same but to detect the User Menu Selection event.

Does anybody know if this is possible please?

Thanks,

Martin

0 Kudos
Message 1 of 3
(2,354 Views)

Sure, and you'd use the same technique that's discussed in the KnowledgeBase article you linked. If you're looking for a shortcut menu the user activates on the pane, then you'd use the Controls[] reference and you would just change one of the events that you're registering to be the "Shortcut Menu Selection (User)" event. If you're looking for the actual "Menu Selection (User)" event then you'd use the VI reference coming from the Open VI reference.

 

--Ryan S.

0 Kudos
Message 2 of 3
(2,345 Views)

Ahh, schoolbody error!  I read the knowledgebase and thought it wouldn't let me access the menu event but I didn't check for myself.

Thanks for the help!

0 Kudos
Message 3 of 3
(2,328 Views)