LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Darren's Weekly Nugget 05/03/2010

LabVIEW 2009 shipped with an enhanced icon editor.  Among the new features were easier text entry, a built-in glyph library, and layering of the icon image.  Many users prefer the new icon editor (I really like how I can create a properly-spaced text icon in 5 seconds or less), but some prefer other alternatives.  Here's a list of some different icon editor options:

 

  • Built-in LabVIEW 2009 Icon Editor - This is the one I use.  Super-fast text icon creation.  And the glyph library comes in handy on occasion.  The main disadvantage is that the first launch in a LabVIEW session takes several seconds (since the enhanced icon editor is VI-based, it takes a while to load its hierarchy into memory the first time).  Also, there were several bug fixes that didn't quite make it into the LabVIEW 2009 release that you can download here.  There is also an NI Community page devoted to the enhanced icon editor here.
  • PJM's Version of the LV 2009 Icon Editor- Philippe took the LabVIEW 2009 enhanced icon editor and ran with it.  Since the vast majority of the icon editor codebase ships without passwords, users can modify the shipping icon editor with their own changes.  Check out what Philippe came up with here.
  • Original Icon Editor - This is the one that shipped with LabVIEW 8.6 and previous.  If you wish to use this editor in LabVIEW 2009 and later, simply go into [LabVIEW]\resource\plugins and rename lv_icon.vi to lv_icon.bak.  And if you wish to restore the enhanced icon editor, just rename the file back to a .vi extension.
  • Mark Balla's Icon Editor - Mark's icon editor is tailored for creating text-based icons.  You can download it from LAVA here.  I got an in-person demo from Mark himself at the CLA Summit!
  • Zühlke's Web-based Icon Editor - I just found out about this one today. You can create a very simple text-based icon on their website, then just drag it directly into your VI!
  • Write Your Own Icon Editor - Either start with the NI Icon Editor like Philippe did, or start with our icon editor template (which includes instructions).  The template is at [LabVIEW]\resource\plugins\lv_icon.vit.

 

 So as you can see, there are plenty of different ways to edit your VI icons.  Which do you prefer?

Message 1 of 13
(7,695 Views)

I've been using PJM's version from early on.

 

I think I started because he quickly got some of the early bugs taken cared of.

 

But mainly, his arrangement of the screen seems more natural to me.  Having the edit window to the left feels more like Paint, and having the the properties and layers over to the right feels more like when I have a properties dialog pop up when using AutoCAD.

0 Kudos
Message 2 of 13
(7,627 Views)

I use PJM's version as well.

 


Darren wrote:

I really like how I can create a properly-spaced text icon in 5 seconds or less


 

 How about voting for this idea which, if implemented, will probably cut that number down to around 1 second.


___________________
Try to take over the world!
0 Kudos
Message 3 of 13
(7,586 Views)

Not quite related, but there is also the editor in the application builder to create icons for executables.

 

(Sometimes, I wish there was a quick way to convert the existing VI icon to an exe icon that retains most of the look.)

Message 4 of 13
(7,512 Views)
The new editor is a big improvement, but I think using layers is going a bit far. Anyhoo, to answer your question, I use the built-in editor. 
Richard






0 Kudos
Message 5 of 13
(7,315 Views)

Can that editor somehow be used with older LV? (8.2 namely)

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 6 of 13
(7,270 Views)

Since I do "Stand-up Programming Routines" I don't have the luxury of using anything custom and have to work exclusively with what ever ships with LabVIEW (You don't get very many laughs when you start telling stories like "If I was on my own machine at work..."). So all of those other editors are at best interesting distractions.

 

The text layer in the shipping editor seldom puts the text where I need it since I do use graphic layers from templates I save as part as I go.

 

Q:

THe templates saved for the icon editor all go to a single location of disk. For people that work on only one app this may be Ok but for people that that can cylce between 5 or more apps a week and have to final adjustments when on-site, I'd like to be able to save the templates as part of my project. Anyone figured out that trick yet?

 

But I digress...

 

The text layer is only really good if you are doing only blank icons with text only. So I edn up doing free text on one of the layers. That is still alittle buggy in that typing one line then clcik to a new location and start a new line, the icon editor get confused and puts the text in the wrong layer.

 

My icon are definatley pretier now than they have ever been.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 7 of 13
(7,237 Views)

^ I too, would like project-based templates or something.  Right now I keep that directory under source control so I can sync it between computers.

 

 I find that the text layer works quite well if you use a template like the default where there is a rectangle label above and a box below.example.png   example2.png

-Barrett
CLD
Message 8 of 13
(7,220 Views)

Ben wrote:

...I'd like to be able to save the templates as part of my project. Anyone figured out that trick yet?


Vote for this idea and the one it links to.


___________________
Try to take over the world!
Message 9 of 13
(7,207 Views)

Ben wrote: 

The text layer is only really good if you are doing only blank icons with text only.


I find it to still be useful with right-justified text on the read/write glyph-based icons for LV class data member access VIs:

 

class_icons.png

 

 

Message 10 of 13
(7,158 Views)