ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

change default icon for new VI ?

Hi all,

When I open a new VI, it comes with the default icon here :





Is there a way to modify this default icon ? I assume the "untitled.vi" comes from a template, so if I can find this template and modify its icon then there I am..
But if so, where can I find this template ?

Thanks for any help 😉

Message Edité par TiTou le 11-30-2006 06:20 PM


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 1 of 5
(4,669 Views)
You may not like this answer, but you could create your own template VI with the icon of your choice and place it in the following folder:
C:\Program Files\National Instruments\LabVIEW X.X\templates

You wouldn't be able to launch it simply by navigating to File >> New VI, but it would show up in the templates dialog when you select File >> New. I have a feeling you know this already, but maybe someone will benefit from it!
Jarrod S.
National Instruments
0 Kudos
Message 2 of 5
(4,662 Views)
Well... I asked this question because I am curremtly doing what you said and I was wondering if I could "automate" this...

After all... isn't LabVIEW a product supposed to improve everyday life ? Smiley Tongue

Thanks anyway for your answer 😉

Message Edité par TiTou le 11-30-2006 06:38 PM


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 3 of 5
(4,659 Views)
I don't believe that the new VI comes from a template. Many such things do in LabVIEW, but I would guess this operation is built into the LabVIEW source code itself. I could be wrong there. My only other suggestion for helping to automate this is to put a blank template VI of your choice in the LabVIEW\project folder. Then create a launcher VI that opens a reference to this VI for template editing as shown below. Put this in your project folder as well.

Now you have a direct menu option (i.e. Tools >> Launch Template...) for opening a new specialized template. I was hoping you could actually assign a specific shortcut to this menu option (for instance, Ctrl+N), since you can customize shortcuts in LabVIEW 8.x, but unfortunately this only applies to built-in menu options, not user VIs.

Message Edited by Jarrod S. on 11-30-2006 12:01 PM

Jarrod S.
National Instruments
Message 4 of 5
(4,655 Views)
Hi Titou,

OpenG has some documentation about this kind of stuf, it is not very clear. But it works I can tell:
LvDocEnvEventCallback

Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
Message 5 of 5
(4,638 Views)