03-09-2011 02:46 PM
I had two pretty straight forward questions but I can't seem to find the answers. Feel free to just point me to an article that has them, if one exists and I missed it.
1. How can I use a key combination to call my addon? For example, control + space opens QD.
2. How can I run my addon at startup. For instance, if I want it running in the background while I code.
Thanks in advance.
Solved! Go to Solution.
03-09-2011 02:57 PM
I see you can do #1 via the options...->menu shortcuts. Can I also set this from a file that's loaded, or possibly use scripting to set it?
03-09-2011 03:43 PM
1. Use Quick Drop shortcuts
2. Sorry, you can't really do that currently.
03-09-2011 03:44 PM
Edit to 2:
You could possibly use JKI's Right Click Framework for this.
03-09-2011 03:52 PM
Doesn't the RCF run at startup if you set it to? Or is it using access to something not available to the public?
03-09-2011 04:15 PM
RCF does, in fact, have the ability to do things on LabVIEW launch. This is part of a larger feature set that was given to JKI and a few other LabVIEW Product Partners to enable the building of specific LabVIEW add-ons (like RCF).
03-10-2011 08:41 AM
See this post to start VI at startup of LabVIEW
03-10-2011 09:36 AM
Dany -
Thank you for posting this. I actually didn't know this was "public" information. But do be advised, this doesn't come without some risk. There is only one VI that can be name the init VI, and this could be used/overwritten by any of LabVIEW's add-ons. Also, I am not sure if this mechanism will persist into the future. But, for your purposes, this may work just fine.
03-18-2011 12:44 AM
Added a LabVIEW Wiki page here describing all the callbacks:
http://labviewwiki.org/Development_Environment_Event_Callback_VIs
03-18-2011 04:17 AM