Jump to content

Cool icon trick


Recommended Posts

Posted

Another icon trick which might be well known ... if you go into Google Images search and type in 32x32 png (size: icon) you will get all the icons you can possibly need. You can narrow the search for specifics (stop, go, etc) Right click, copy and paste it in your icon editor.

  • Like 1
Posted
I just discovered by accident that if you copy a primitive VI (like add) then edit the icon of a VI and paste , you get the icon of the primitive?

You can paste just about anything into the icon editor and it'll try to bitmap it:

post-181-0-90846500-1328626642.gif

Another icon trick which might be well known ... if you go into Google Images search and type in 32x32 png (size: icon) you will get all the icons you can possibly need.

That's a great tip - but remember to respect the copyright of the images you find :yes:

  • Like 2
Posted

Also, you might want to change color and make it clear that this is a subVI of yours and not a primitive ;)

Posted

Wow I'm a little ashamed to say that I've always done a print screen, pasted my whole screen into Mspaint, then selected just the primative I wanted, copied and then pasted into the icon editor.

Also I believe that Flickr allows you to search for images in the public domain, or royalty free. The site is massivly slow for me at the moment so I can't check but I think that's where I saw that feature.

  • Like 2
Posted

Wow I'm a little ashamed to say that I've always done a print screen, pasted my whole screen into Mspaint, then selected just the primative I wanted, copied and then pasted into the icon editor.

Where's the LAVA "Me Too" button?

That's a great tip - but remember to respect the copyright of the images you find :yes:

Mel Brooks may have a few words he'd like to share with you... :P

Posted

You can also do this with subVIs

Oh, man… The number of times I’ve double clicked on a subVI, double clicked on its icon to bring up the editor, made a copy, closed the editor, opened another VI’s editor, pasted. What a waste of time!

  • Like 1
Posted

You can also drag and drop the icon of one vi to another vi without copy/paste. No keystrokes required... :o

(front panel to front panel)

Thanks for posting that, I didn't know I could do it from icon to icon. I knew about dragging any image file from your file explorer directly on to the icon without opening the icon editor too. I normally demo it with the sample pictures that ship with Windows and I end up with a VI with a sunset icon (XP) or a Koala (Windows 7) ;)

Posted

Thanks for the accidental discovery Fab! You'd be amazed at how many hours all of us have collectively wasted due to this ignorance!

I did a whole lot of copy>Paint>Copy>Icon Editor just today (with primitives :)). Tomorrow should be easier now!

  • Like 1
Posted

I normally demo it with the sample pictures that ship with Windows and I end up with a VI with a sunset icon (XP) or a Koala (Windows 7) ;)

Here is our default image for our generic dialog. I smile every time I fail to wire a real image...

post-949-0-12816800-1328704276_thumb.jpg

  • Like 2
Posted

This isn't so much of a trick as it is a manifestation of two cool features that aren't really advertised:

  1. If you copy FP / BD objects it puts a picture of them on the system clipboard and it places a copy of the objects themselves in LabVIEW's internal clipboard.
  2. You can paste from the system clipboard in the icon editor.

  • Like 2
Posted

Oh, man… The number of times I’ve double clicked on a subVI, double clicked on its icon to bring up the editor, made a copy, closed the editor, opened another VI’s editor, pasted. What a waste of time!

If the Icon Editor persisted the layer information to the clipboard when you copied, then it wouldn't necessarily be a waste of time, but that's never been implemented in any of the icon editor plugins that I've seen.

Posted

If the Icon Editor persisted the layer information to the clipboard when you copied, then it wouldn't necessarily be a waste of time, but that's never been implemented in any of the icon editor plugins that I've seen.

The ability to programmably interact with layers in 2011+ would be nice too ;)

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.