LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Change new VI Default Icon?

Is this post still relevant to the latest version of LabVIEW (2012):

 

http://forums.ni.com/t5/LabVIEW/change-default-icon-for-new-VI/m-p/448064

 

Or is there a better way/more preferred method?  It would be nice to change up a bit.

 

Thanks.

0 Kudos
Message 1 of 6
(4,361 Views)

What's wrong with Ton's suggestion - use the lv_new_vi.vi callback to override the New VI command and make a copy of your own template?


___________________
Try to take over the world!
0 Kudos
Message 2 of 6
(4,338 Views)

I guess the easiest solution is to save a preferrec icon as Glyph in the icon editor to get a good starting point. 🙂

 

/Y 

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

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 3 of 6
(4,330 Views)

Who is Ton and where is his suggestion?  I don't see it in the link I provided.  I asked because the thread was from 2006, and was wondering if there was a better solution available.

 

It looks like a good solution to use a template, but then again it would be nice if the default icon was changed when selecting parts of a block diagram and going to "Create SubVI from Selection".

0 Kudos
Message 4 of 6
(4,302 Views)

@Nickerbocker wrote:

Who is Ton and where is his suggestion?  I don't see it in the link I provided.


Ton is TCPlomp.  His suggestion is here:http://forums.ni.com/t5/LabVIEW/change-default-icon-for-new-VI/m-p/448115#M218003


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 5 of 6
(4,297 Views)

@Nickerbocker wrote:

 

it would be nice if the default icon was changed when selecting parts of a block diagram and going to "Create SubVI from Selection".


Since 2011, LV has a VI-based process for creating a subVI from a selection. You can put your own code into that process. Look at <LabVIEW>\resource\plugins\CreateSubVI\Additional Actions Template.vi

 

You can set the VI's icon to a new image using a method on the VI, but I believe 2011 doesn't allow you to build an icon from layers like the icon editor does. My understanding is that 2012 is supposed to have an API to the editor which might allow you to do that.


___________________
Try to take over the world!
0 Kudos
Message 6 of 6
(4,277 Views)