Jump to content

View cluster FP controls & BD constants as icons


mje

Recommended Posts

Let's face it, clusters can get absolutely huge from a real-estate perspective, both on the front panel and the block diagram. The only solution I've ever used to avoid the ugliness of a huge cluster is to always use a hidden control, even for constants in the diagram, that way I get my nice little icon regardless of the physical size of the cluster. I have one problem with this though, and that's when dealing with clusters that are connected to a VIs connection terminal. I consider it very poor form to hide anything that's connected, but often enough I have to just to preserve the sanity of my panels (as well as myself). My only solution so far has been to just leave a comment saying "ControlX is hidden" or something like that, so anyone browsing the panel knows to look for it in the diagram if they want to locate it.

What I'd really like is to be able to represent any cluster as an icon, so it takes up a fixed (and small) amount of space. Bonus points for being able to switch between icon and full form on the fly so I can edit the data. Double bonus points if this can apply to BD constants too, since there's nothing worse than having a typedef'd constant resize in a diagram and oblilterate some formatting.

Link to comment
  • 2 weeks later...

I actually logged in to post a few suggestions or wishes, and this was exactly one of them. I really wish we had the option to show clusters as (descriptive) icons instead of controls or indicators. You can already do this with refnum controls for instance. It would be faster (performance-wise) and easier than the workarounds suggested above.

Cheers,

Steen

Link to comment
QUOTE (neBulus @ Apr 1 2009, 05:28 AM)
LV is smart enough to fold code that is constant. Have you benchmarked this difference?
But if you change that constant into a hidden control, it is not a constant any more. And LV can't assume that it is a constant even when it isn't on the conpane because LV has no way of knowing that you won't use VI server to set its value or to unhide it or something like that.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.