ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Image Display Custom Right Click Menu

Hi Team,

 

I'm pretty sure this is a bug, but I thought I would check I'm not missing anything before creating a CAR.

 

I want to append some menu items to the image display, but when I do that the vision specific RCM items stop working (the new user defined menu times work fine).

 

I've attached some demo code.

 

When I remove the 'Shortcut Menu Activation?' case, the vision functionality works again.

 

In case you don't want to download random VIs, here are some screenshots of the important bits:

Working RCM.png Adding New RCM Item.png RCM User Selection.png

 

As a work around I could delete the entire menu and reimplement the application functionality I want, but I would rather not reimplement what should already be working.

 

Any thoughts?

 

Update: I've noticed the 'Shortcut Menu Selection (App)' event case doesn't execute when you select a Vision Specific item (like Zoom to Fit). Does anyone know how the vision specific RCM events are handled? (I can't find a vision RCM llb in programfiles)

0 Kudos
Message 1 of 3
(1,792 Views)

@McQuillan wrote:

As a work around I could delete the entire menu and reimplement the application functionality I want, but I would rather not reimplement what should already be working.

 

Any thoughts?


I'd first right click the control in edit time, and change run time menu there (Advanced>Run-time Shortcut Menu>Edit). That should allow you to copy the entire menu.

 

Hopefully, copying (maybe adding something) makes LV recognize the RTM as a custom one, and leaves it alone.

 

 Not sure if that works, but it's a quick test.

 

 

0 Kudos
Message 2 of 3
(1,719 Views)
0 Kudos
Message 3 of 3
(1,704 Views)