11-29-2018 03:38 AM
I have a cluster with quite long element names, due to cluster in cluster in cluster... This is given by the project and I can't change names or cluster structures.
When I use "bundle by name" this gives me a very long element on the diagram and I would like to decrease this horizontal size. I don't need to see the hole element path the hole time, but you can't just size it down like a frontpanal element. The only way I can think of is to put in into a SubVI, but I don't like the idea of adding another VI to the project structure just to update two elements in a cluster...
Is there an easy way to decrease the size of this diagram element?
Best regards
jusaca
Solved! Go to Solution.
11-29-2018 03:49 AM
Try "right-click...hide full names".
(... or just define shorter names from the beginning)
11-29-2018 03:53 AM
@altenbach wrote:
Try "right-click...hide full names".
Ahh, never knew that one. Thanks!
11-29-2018 08:25 AM
@jusaca wrote:
@altenbach wrote:
Try "right-click...hide full names".
Ahh, never knew that one. Thanks!
I didn't, either! But your first solution is also quite viable -- there is nothing wrong with having a little sub-VI (which occupies at most 32x32 pixels on the Block Diagram) "hide" some inconvenient ("messy") code, particularly if you make an Icon for it so it "self-documents" when placed. I might overdo it, but I find that I can walk someone through my code fairly quickly because almost all of my Block Diagrams (including, and especially, the Top Level Diagram) fit on a Laptop Screen.
Bob Schor
11-29-2018 08:29 AM
Remember that you can hide labels and show captions for front panel controls and indicators. That way you can use and show a longer name that is meaningful for the user as a caption. The label can be a much shorter, but still descriptive name that is meaningful to you as the programmer.
11-29-2018 08:33 AM
Trick also works in IPE structures.
mcduff