LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I programatically signal a menu item?

Solved!
Go to solution

I have a file-menu in my VI, and an event handler to handle certain menu selections. There are things (such as run and stop) which cannot be done by any other means.

 

I'm implementing a popup which I want to have a stop button in, and I want the event structure which handles my menu selections to be triggered by clicking on this stop button. How do I "click" a menu selection programatically? 

 

I suppose what I want to do can be achieved by adding some sort of variables but I'd rather just keep it simple and minimal and dynamically make menu selections with my program. I want to pass a menu reference or a vi reference into this subvi, and have the subvi control the top-level VI's menu. Any way this can be done?

0 Kudos
Message 1 of 2
(2,359 Views)
Solution
Accepted by topic author LeroyBogz

You can't trig a menu item programmatically in LabVIEW. look at this thread for a workaround.

 

Ben64

0 Kudos
Message 2 of 2
(2,350 Views)