LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

create custom menu to include standard operate drop down

When I create a custom list of menu drop-downs, is it possible to also include the standard "Operate" drop down to include the "stop" running command (Ctrl + .)?  The stop command is what I'm mostly interested in.

 

Thanks

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

Forgive me if I'm not understanding the question correctly, but couldn't you just have a stop button wired to a while loop surrounding your code?

Stop Button.JPG 

 

Happy Pi day!

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

@lavalava wrote:

When I create a custom list of menu drop-downs, is it possible to also include the standard "Operate" drop down to include the "stop" running command (Ctrl + .)?  The stop command is what I'm mostly interested in.

 

Thanks



Why would you do this?  Ctrl+. does not work if the Abort button is not shown.  (And its not really a good idea to abort your vi)

 

But yes, you can edit the RTM and add a Stop to Operate.  An Event loop "Menu Activation" event could call the Abort vi primitive when Operate>>Stop is selected


"Should be" isn't "Is" -Jay
0 Kudos
Message 3 of 3
(2,469 Views)