取消
显示结果 
搜索替代 
您的意思是: 

Decrease the size on screen of "bundle by name" with long element names

已解决!
转到解答

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?

 

Unbenannt.PNG

 

Best regards

jusaca

0 项奖励
1 条消息(共 6 条)
3,099 次查看
解答
已被主题作者 jusaca 接受

Try "right-click...hide full names".

 

(... or just define shorter names from the beginning)

2 条消息(共 6 条)
3,083 次查看

@altenbach wrote:

Try "right-click...hide full names".


Ahh, never knew that one. Thanks!

0 项奖励
3 条消息(共 6 条)
3,079 次查看

@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

0 项奖励
4 条消息(共 6 条)
3,043 次查看

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.

0 项奖励
5 条消息(共 6 条)
3,041 次查看

Trick also works in IPE structures.

 

mcduff

0 项奖励
6 条消息(共 6 条)
3,038 次查看