04-12-2021 05:53 AM - edited 04-12-2021 06:05 AM
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:
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)
04-13-2021 06:00 AM
@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.
04-13-2021 10:56 AM
It seems there already is a CAR: https://forums.ni.com/t5/Machine-Vision/Image-Run-Time-Shortcut-Menu/m-p/3337848#M48283