LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Programmatically Appling LVLib Icons to All VIs

Hi All,

 

I want to programmatically change icons of all the VIs in a LVLib, if I use the "Apply Icons to Existing VI items" method, i get a popup for saving the VIs,is there any way to programmatically avoid this popup or any other way in which I can apply the icons to all VIs of a LVLib.

 

Thanks and Regards,

Sree

0 Kudos
Message 1 of 5
(2,692 Views)

You can use the invoke node for Save Instrument.  Of course I am curious on why you would want to edit anything under the VI.lib.  This is sorta like wanting to change Windows DLLs found under System32, it is generally a bad idea, that is unless you put the files there and know what you are doing.

0 Kudos
Message 2 of 5
(2,657 Views)

@Hooovahh wrote:

Of course I am curious on why you would want to edit anything under the VI.lib.


Read the original post a little closer.  The OP wants to set the icons for a LVLIB they created.  There is no mention of changing anything inside of vi.lib.

 

I personally just use the Apply To All Items.  Then there is just the Save-All option on the save dialog.


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
Message 3 of 5
(2,653 Views)

@crossrulz wrote:
Read the original post a little closer.  The OP wants to set the icons for a LVLIB they created.  There is no mention of changing anything inside of vi.lib.

Ahh yes my mistake.  My brain saw LVLIB and thought it was vi.lib.

0 Kudos
Message 4 of 5
(2,643 Views)

Thank You both for replying

 

I am using the "Apply Icons to Existing VI items" method now with the "Save All" pop up, another method which I tried is changing the Icons of all the VIs in LVLib and saving it individually which seems to work out but it is time consuming than the previous method.

 

Regards,

Sree

0 Kudos
Message 5 of 5
(2,588 Views)