09-14-2012 11:04 AM - edited 09-14-2012 11:09 AM
I am having an issue with LV 2012 Icon Editor. 32 bit installation, Windows 7 Enterprise. Fresh install I downloaded from the website.
Everytime I try to edit an Icon, I get an error 7, File not found. It seems that it cannot find any of the template or glyphs.
Frameworks:\
LabVIEW Data:\Glyphs
Error 7 occurred at File/Directory Info in Check Path.vi->Write PNG File.vi->Icon Editor First Call.vi->ReadDataFromLabVIEWINI.vi->Load.vi->Icon Editor Init Refs.vi->Classes Initialization.vi->lv_icon.lvlib:lv_icon.vi->lv_icon.lvlib:lv_icon.vi.ProxyCaller
I should mention that it still pulls up the old Icon editor, but I would like to use the newer one (introduced in LV2009/10 ish)
Has anyone else seen this error with the Icon Editor?
I am also getting a pop up that LV failed to create the Recovery VIs.
It seems like I am having some file path issues, but I left everything as LV defaults. These would seem to be standard config items...
09-14-2012 01:12 PM
It sounds like your LabVIEW installation was corrupted in some manner, since the new icon editor should be the default on a new install. I would try repairing that first.
For the new icon editor to show up, you should have a file called lv_icon.lvlibp in <LabVIEW>\resource\plugins. This is the icon editor. If it is missing or renamed, you get the old editor.
The glyphs and templates are in your <Documents>\LabVIEW Data directory, in subdirectories Glyphs and Icon Templates, respectively. These are shared by all versions of LabVIEW installed. A fresh install of LabVIEW will have very few templates.
You can use the icon editor to sync your glyphs with the library at ni.com. Use the tools menu to get them.
Let us know if this does not help.
09-14-2012 02:36 PM
I tried running the installer from scratch and also doing a repair (via the Control Panel), no luck, still get the error.
If I look under the Documents Library, there is no LabVIEW Data folder. I also tried searching for Icon Templates folder, and did not find one in any other folder either.
I ran the installation as Administrator, so I should not have had any file access issues (I wouldnt think).
I do have the new Icon editor vi on my PC, it just errors out when opening (due to file not found error), and then I get the old Icon editor.
I also tried uninstalling all ni software, and reinstalled only the 2012 development environment. Same issue.
09-14-2012 02:55 PM
When you installed as Administrator, were you user:Administrator or user:Kenny_K with administrative privileges? If the former, then your glyphs and templates are in the Administrator user files, not your normal user user files. Copy them over and you should be good to go. You may need to copy them to a temp directory as Administrator, then into your user directory as normal user, depending upon your security settings.
Glyphs and templates are specific to a particular user to allow multiple users of the same machine to have different icons and templates corresponding to their different projects.
09-14-2012 03:13 PM - edited 09-14-2012 03:16 PM
After I uninstalled everything, I ran it as myself (Part of the Admin group for user permissions on the computer).
My C:\Users\<username>\AppData\Local\National Instruments folder is empty. This is the correct default folder for this data, correct?
My C:\Users\<username>\My Documents also has no National Instruments folder, but C:\Users\Public\Public Documents\National Instruments has Device driver files in it (no Lv Data dir).
09-14-2012 03:25 PM
I just noticed that I am getting an error as well when I close Labview.
DWarn 0xF277A4DF in Project.cpp
Report ID: a69458f2-ed6e-4a76-a4dd-458acd660e95
Not sure if that helps.
09-14-2012 03:43 PM
The glyphs should be in
C:\Users\<username>\Documents\LabVIEW Data\Glyphs
The templates in
C:\Users\<username>\Documents\LabVIEW Data\Icon Templates
Note that "C:\Users\<username>\Documents\LabVIEW Data" is the Default Data Directory in Tools>>Options>>Paths. If you changed this directory, it could be the cause of this issue, since the icon editor uses the default data directory as the base path to construct the paths to the glyphs and icon templates.
09-14-2012 04:21 PM
No, I am using the default paths.
My Documents folder is empty with any NI stuff.
09-14-2012 04:43 PM - edited 09-14-2012 04:47 PM
Next step is to try manually synching the library from NI.com. You can get directions here.
Just realized that the instructions assumed you can open the icon editor. If you have another version of LabVIEW with a working new icon editor, this would work. If not, try downloading the icon file and copying them into directory manually. If that does not work, we can try something else.
09-17-2012 08:17 AM
Ok, we have some progress.
I Manually created the C:\Users\<Username>\My Documents\LabVIEW Data\ and then set that folder as the Default folder in the LabVIEW Options.
I can now open the Icon editor, and add any text I want to the Icon.
I did the manual Icon Library Update. I downloaded the Icons Filtered.xml file as well.
During the "import" process, a dialog pops up saying it is downloading (after I have entered the zip file and xml file), and then it errors out at Read PNG file, with error 6 (Generic I/O error). When you look at the icon editor Glyph tab, it lists all the icons in the tree on the left, but it is just a white space in the middle where the icon pics should be. You can see the file name listed on the bottom though, just no picture.