LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Synchronize with Icon library

Solved!
Go to solution

I try to use this function of the LV9 icon editor; the download seems to work (progress bar goes on), but then i get this unzip error:


Error 42 occurred at NI_Unzip.lvlib: Open unZip File.vi


Possible reason(s):

Error opening the zip file.

Complete call chain:
     NI_Unzip.lvlib: Open unZip File.vi
     NI_Unzip.lvlib:Unzip.vi
     Download iconlibrary files.vi
     ni.com_iconlibrary.vi

 

I applied the patch in http://decibel.ni.com/content/docs/DOC-6301 but it didn't help.

Can i unzip manually the library? but where?

0 Kudos
Message 1 of 12
(6,714 Views)

Hi,

The error you are getting shows that we maybe downloading a corrupted version on the icon library.

Can you try to update them manually?

Here is a link to the LaVIEW help on updating the library manually.

Synchronizing with the Icon Library Manually
http://zone.ni.com/reference/en-XX/help/371361F-01/lvhowto/synchronizing_icon_library/

NI Icon Library
http://zone.ni.com/devzone/cda/tut/p/id/6453

Let me know if you have any questions.

Luca Gallo
Sales Engineer
0 Kudos
Message 2 of 12
(6,696 Views)

That procedure is not actually "manual", it just let you browse for files instead of downloading, but then it does same thing (and same error).

The zip is not corrupted, works on Winzip; where should i manually unzip it? I mean really manually!

0 Kudos
Message 3 of 12
(6,686 Views)
Solution
Accepted by topic author Snamprogetti

you're actually right.

This is what I did to add an icon I created myself with Windows Paint:

go to Icon Editor in LabVIEW and the click on Tools --> List Glyphs and Icon Templates.

after clicking that menu, a web page is opened.

In this web page are listed all the icons present on your PC with their absolute path.

In my case (Windows XP) the icons are found in those paths:

C:\Documents and Settings\WINDOWS_USERNAME\My Documents\LabVIEW Data\Glyphs\...

C:\Documents and Settings\WINDOWS_USERNAME\My Documents\LabVIEW Data\Icon Templates\

 

where WINDOWS_USERNAME is my Windows account name.

 

I then copied the .PNG created with Windows Paint in one of the subfolder present into the .....\Glyphs\ folder.

Loading the Icon Editor again, I was able to find the icon created.

 

now, if you put the files download from our website in that directories, you should be able to find them in Icon Editor.

Let me know if it works for you.

 

Best Regards

 

Luca Gallo
Sales Engineer
0 Kudos
Message 4 of 12
(6,678 Views)

Thanks, it worked, it lost the classification of icons in categories (it's defined in the XML) but never mind

0 Kudos
Message 5 of 12
(6,669 Views)

I got the same error using LabVIEW 2009 F1 x64.  One would think by now this would have been wrung out.  

I will be checking out 2010 next week on my x64 to see if the same problem exists.


Paul
0 Kudos
Message 6 of 12
(6,544 Views)

It does exist in 2010. Looks like the author of the IE wasn't aware of this until now. See here.


___________________
Try to take over the world!
0 Kudos
Message 7 of 12
(6,526 Views)

actually after posting this, I ran across the community page.  I implemented the fix as recommended and that sortta worked in that I got past the zip file download and extract, but there is a mismatch between the zip file and xml file.  When parsing through the xml and categorizing the zip file contents, which is done in a loop that builds an array, but if the LAST element spits an error, then it bombs out... if the the last element does NOT spit an error, you can get empty glyphs in the output of that loop.

 

BTW, there is a feature that prompts the user for the zip and xml file IF the VI kicks an error out of the HTML read of the zip or xml, so the original problem happened downstream of the actual fix.  BUT it would have been nice to be able to do a manual import via menu instead of on error.  


I realize that I can make these mods and have these features... HOWEVER the next patch/release will just overwrite those changes.  BTDT.  

 

OK, time to jump off the soapbox.  Have a great weekend. 


Paul
0 Kudos
Message 8 of 12
(6,514 Views)

Link for the icon library does not work for me, anyone know where to get it in this modern day and age?

0 Kudos
Message 9 of 12
(3,456 Views)

I don't know about links, but I have these files from a few years ago which I think did work.


___________________
Try to take over the world!
Message 10 of 12
(3,442 Views)