Jump to content

Icon View of typedef constants


Recommended Posts

Some typedef'ed clusters can get really big when dropped on the block diagram.  It can cause a big problem in a crowded case structure.  It would be great to be able to replace the typedef with its icon.

4140[/snapback]

I'll vote for that.

I only recently learned (from Stephen Mercer at NI) that setting a control's BD terminal to display as an icon (which I'd always thought was a waste of BD space) will render the typedef icon for controls tied to a typedef. It'd be great if there were a way to extend this to the typedef'd constant as well.

Dave

Link to comment

There a couple techniques that I use to help control the size of cluster constants.

The first is to arrange the cluster horizontally instead of vertically.

post-584-1110429517.png?width=400

The best one I've found is to put the cluster constant in a subvi and draw the icon so it only takes up half the size of a standard Icon

post-584-1110429802.png?width=400

There is one thing to note when creating the icon make sure to copy the condensed icon to all three color formats in the icon editor otherwise the 256 icon will overlap others. This is shown by the fat const vi.

post-584-1110430278.png?width=400

post-584-1110430280.png?width=400

The editor shows a greyed out area in the icon box that will translate to transparent color when put on the block diagram. If it is white it will overlap.

This idea is also very useful for making smaller icon footprints.

post-584-1110430910.png?width=400

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.