‎12-12-2013 04:08 AM
Dear users,
is there any cookbook or manual or description, how to convert any RCF (right-click framework) plugin to a QD (Quick Drop) plugin, please? I would like to move away from RCF. Althoug it does the job, it has several caveats, I am not happy with: it does not start automatically in LV13.02f, loading takes long time, it has a cumbersome execution of any plugin. I sensed that multiple developers of RCF plugins moved to Quick Drop and converted their own plugins to it. But some plugins are still available only for RCF. I would like to reuse their code and convert them for Quick Drop.
Cheers,
‎12-12-2013 07:49 AM
The problem with converting is that the JKI RCF handles saving configuration information. The handful of conversions I've made worked without the configuration piece, but the first one I looked at (from your other post - Eric_BOB's Colorize Diagram) relied on that. I haven't seen/written anything to duplicate the RCF configuration functionality.
‎12-13-2013 08:43 AM
This is a good question and I expect that others have converted RCF plugins to QD. I was thinking of adding a configuration VI that stores tags containing the config settings, using Darin.K's Get/SetValues vis. This requires a mechanism to present options for adjustment, but there's no mechanism to use.
What have you done to handle user-configurable options in QD?
‎12-13-2013 10:41 AM
Another way to store configuration information would be in the LabVIEW INI file. The VIs in resource\dialog\lvconfig.llb allow to you read/write arbitrary tags in the LabVIEW INI file. I've been meaning to write a nugget about this.
‎12-16-2013 02:13 AM
I would personally like it if QD had a basic framework for plugins to have a UI and to save and load whatever config they have, like I mentioned in the idea here. This could be something like what the RCF had (a table where each param had a name and value which you would edit in the table), so then it's also handled completely automatically, but there's something I never liked about that. I like something like this, but as is, that's mainly useful for UI values, not for loadable params.
Incidentally, both that demo and the CCT save the values to the LabVIEW Data folder which has an advantage (or a disadvantage, depending on your outlook) in that it's user specific and shared between LV versions.
‎12-17-2013 08:51 AM
Thank yoy for your replies!
I did nothing extraordinary. I ignored the INI files and hoped to live with any default configuration the VI offered. I'd accept a solution where I had to change the default configuration manually, inside the QD VI. But some VIs are not recognized as QD VIs at all.
jcarmody wrote:
What have you done to handle user-configurable options in QD?
‎12-17-2013 09:31 AM
I'm trying this:
Typing: Ctrl+Space, "config", Ctrl+<shortcut> brings up a config dialog:
Not typing "config" results in the default values being used, which are stored in the config VI's tags. I'd have to make a custom dialog VI for each plugin, but that isn't horrible.