03-26-2018 07:04 AM - edited 03-26-2018 07:26 AM
Hi all,
I've developed an extensible application that dynamically loads plug-ins distributed in form of LV-written DLLs.
The main LV .exe application, for each DLL plug-in found in a folder, calls a method to run the main VI in the DLL and afterwards calls a method to retrieve the VI reference. This reference is used to load the front panel in a sub-panel of the main application.
Everything works pretty fine with very good performances.
Now I'd need to add a custom short-cut menu on a Multicolumn Listbox of the DLL main VI but, even if correctly configured, when right-clicking on the control, only the default run-time menu is displayed.
If I run the original VI (in source .vi form) and put its front panel in a subpanel, the menu works fine, but when run within a DLL, it just doesn't work.
Every other front panel event works as expected (menu clicks, drag-n-drop, mouse hovering, and so on...).
Is this a LV limitation? Do you know of any turnaround to make this work?
LV2010 here.
Thank you
Best
Raf
03-28-2018 06:27 AM
Have you tried what happens when you set the menu on a Shortcut Menu Activation event?
I'd say it's a bug, but I'm not sure if what you're doing is even supported officially (using references of VI's in dll's in the calling exe).
An upgrade might help, 2010 is ancient. If you post a mockup, we could test if it's resolved in newer versions.
04-03-2018 04:39 AM