An earlier suggestion to view Clusters as Icons was accepted and implemented in LabVIEW 2010. I use it when I define a cluster as a TypeDef by giving the cluster a Custom Icon (NI does this, as well), which helps when I need to drop the cluster on the Block Diagram to, for example, allow me to Bundle By Name.
I'd like to see this extended to other (all?) TypeDefs, such as Arrays, Enums, or even "named constants". It would allow the LabVIEW Developer to produce more "self-documenting" code. For example, if I have a type called "Samples", defined as an Array of I16, and want to create a Queue for it, I could wire the TypeDef to the Create Queue input and, if I had an icon that I created for it that said [Samples] (or even [I16]), I could instantly see what was going on, what the purpose of the Array was, and what the Type was (the wire would be Blue, indicating an integer, but I'd need to click on it to know if it was I16, U32, or a User TypeDef).
Veering a bit outside the title of this Idea, I notice that certain LabVIEW constants, such as the Error Cluster Constant, can be right- clicked into and out of Icon form. Why not do this for all Constants? For example, a "natural" icon for an Array of I16 would be a small box with [16] as a label. If you are using it as a constant, the Index Display is not necessary and takes up space, and, as above, you can't easily tell just what the base type is. One could carry this to extremes, I guess, but even a numeric 0 (plunked down to initialize a Shift Register, for example), might helpfully be iconized to show, not its value, but its type. The point is that the Developer would have more flexibility to design a VI that visually encapsulates the desired function with less clutter.
BS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any idea that has received less than 5 kudos within 5 years after posting will be automatically declined.