07-27-2013 03:37 PM - edited 02-27-2020 10:30 AM
In response to a couple of ideas from the Idea Exchange (here and here), I was inspired to make a quick drop shortcut to attempt to accomadate the spirit of the ideas: a better way to format your numeric controls, indicators, and constants. So here is my plug in.
To install
Put VI in the <LabVIEW>\resource\dialog\QuickDrop\plugins folder.
How to use
Release Notes:
V2.0 - Added ability to use generic notation to set all controls/constants selected (ex: hex).
The VI is saved in 2011.
02-26-2016 03:06 PM
Very nice. I like the idea of displaying the radix automatically.
02-27-2020 10:40 AM
I was working on another plugin and realized I could make some good improvements to this one. So I did!
You can now type in "dec", "hex", "oct", "bin", or "si" (case insensitive) into the QD to set the formatting based on the numeric representation. And to take care of one of my want-to-haves, the hex, oct, and bin force the radix to be visible; dec and si leaves the radix visible property alone.
03-26-2024 12:16 PM
I was doing some clean up of this plugin to get it ready for a VIPM release and decided to make it so this plugin can now directly handle arrays and clusters. And as I was about to post, I noticed that I missed arrays of clusters (this is in the attached update).
So if anybody cares, give this update a try. Let me know if I missed any scenarios that would be useful or if something doesn't work.
Two things of note:
1. This is no longer a single VI (I needed recursion to handle the arrays and clusters) and is therefore an llb. You cannot just do a replace in your plugins directory, you will need to delete the previous version.
2. It is currently saved in 2019. I do plan to "Save For Previous" to 2011 before doing a release and package.