03-17-2018 10:54 AM - edited 03-19-2018 11:04 AM
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:
Limitations:
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!
03-19-2018 12:30 AM
Love it! Great idea!
03-19-2018 10:58 AM
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.
03-19-2018 11:04 AM
drat. grabbed wrong support folder in .zip. Fixed and edited original post, also attaching here.
03-19-2018 01:25 PM
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:
03-19-2018 01:27 PM
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.
03-19-2018 01:36 PM
Here's a GIF of the plugin in action, for those of you who aren't able to view the youtube video.
03-19-2018 01:50 PM
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"
03-19-2018 01:57 PM
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.
03-21-2018 05:32 AM
How about a plugin that does this:
1. Click on any terminal on FP
2. CTRL + Space
3. type cp[0] or cp[1] 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.
6. ???
7. Profit