10-24-2014 01:53 AM
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
10-24-2014 10:14 AM
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.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
10-24-2014 10:22 AM
@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.
10-24-2014 11:19 AM
@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.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
10-27-2014 11:51 PM
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