Hello QD Enthusiasts,
Before posting on the NI code Exchange I wanted to post this QD tool here for user comments.
This tool is meant to speed up wiring of subVI controls/indicators to the terminal. Instead of maneuvers between a 9 by 9 pixel terminal and a control on the other side of the screen, this quick drop tool to describes a terminal at the control. See video of tool in use.
YT link (video is limited by windows screen capture. pop up menus are not recorded)
Attached is the quick drop VIs and support folder, these go in your quick drop folder if you want to try it out.
What it does:
Thanks for checking this out. I have been using this tool whenever I work with LV and wanted to see if it can help anyone and how I can improve it!
The video looks promising, but the plugin errors out when used. It looks like you didn't include a 'Make_Terminal_Support' folder in your zip file.
drat. grabbed wrong support folder in .zip. Fixed and edited original post, also attaching here.
Very cool, it works now. This has promise. I wonder what can be done about overlap...when my front panel controls are relatively close together, the tool is hard to use because the conpane overlays overlap as well:
yeah there could be scaling if I was creating the clusters problematically (currently just pasting from a template). I use the ctrl+drag function to separate up my FP before launching this tool usually.
Here's a GIF of the plugin in action, for those of you who aren't able to view the youtube video.
If I can create a cluster of Boolean controls with VI scripting rather than copying from a template, I think this would solve the scale of the terminal (for overlap) and the rotation of the terminal (and do away with the support folder). At least that is what I am going to do to this before uploading to the code exchange.
The ugly part of the problem becomes "what is the maximum size (up to a fixed limit) that a terminal cluster can be created on the FP for all controls, where all terminals clusters overlap some of the target control, but no terminals overlap each other"
One idea I had...what if you had a temporary VI that you created, and you scripted (scaled) conpane images on the front panel of that VI in the same relative positions as the controls on the target VI, and you ran it with 50% transparency sitting directly on top of the original VI? Then the temporary VI could have a 'Done' button on its panel, and after you clicked the terminal positions you'd click 'Done'...that solves the "2 QD plugins" issue as well.
How about a plugin that does this:
1. Click on any terminal on FP
2. CTRL + Space
3. type cp or cp or cp[x] where x stands for the terminal index on the connector pane
4. Continue with pressing the CTRL + Blah button for the terminal wiring shortcut ex. CTRL + X
5. The text in the CTRL+Space text box is parsed to understand which terminal you wanted to wire.