LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

lvjpeg folder not found

I'm using the newest version of LabVIEW 8.20 and trying to create an installer. Where I'm having a problem is when I try to build an installer, I get an error saying that the build was unsuccessful beacuse it cannot find the folder lvjpeg in my application data file folder. I noticed that when I select my application when choosing the source files for the installer, there is a lvjpeg folder that is shown as one of the included folders in the data folder. If I go to the actual file location and set my display to show hidden files and folders, lvjpeg does not exist.
 
The application exe file does work. It's only when I try to build the installer is when the error occurs.
 
Anyone know how I can fix this?
0 Kudos
Message 1 of 14
(4,637 Views)
bgushiken,

My name is Mike from National Instruments. When I looked into my build specifications for an executable as well as an installer, I never see a lvjpeg file listed. Have you seen this behavior with any other installers you have created in LabVIEW 8.20? Is it possible for you to build a new VI into an executable then an installer to make sure that works? I am wondering if this error is specific to your code or even to your project in some way. If you create a new project and build the executable and installer from the new project, do you still get this error?

If you still see this behavior after giving these steps a try, please post a screenshot of the installer source files window that shows the lvjpeg file you have described. I hope this helps!

Mike
National Instruments  
Applications Engineer
Message 2 of 14
(4,617 Views)

Hi Mike,

I actually found a work around yesterday and it looks like the installer has been working ever since. I noticed that the lvjpeg folder appears in the installer source files when I add _Word Dynamic VIs.vi and _Excel Dynamic VIs.vi to the project from their original location in the _exclsub.llb and _wordsub.llb files located in C:\Program Files\National Instruments\LabVIEW 8.2\vi.lib\addons\_office. If I do a save as and save the VIs into the folder where my project.lvp file is, then the folder does not appear in the installer source files and everything builds fine. I still do not understand exactly why this is so.

Could you help to explain?

Thanks,

Brandon

Message 3 of 14
(4,608 Views)
Brandon,

I tried adding these VIs to an installer and I was not able to recreate the error you were previously seeing. This is interesting to me why I am not able to reproduce the error, but it sounds as if it may be a file location issue. Is it possible that the location of the library was changed since the files were added to your project?

I am glad to hear that you have found a solution for this error. If you would still like to investigate the previous error, I would ask that you create a new installer with these VIs to see if the same error occurs. If you are able to obtain the error again, please post back to this thread and I may suggest further troubleshooting steps. Thanks a lot,

Mike
National Instruments
Applications Engineer
Message 4 of 14
(4,589 Views)

Hi Mike,

I think that's exactly what happened. When I updated to LabVIEW 8.20, I uninstalled everything then did a reinstall. This was because when I tried to open my project that I started in version 8.0.1, there were so many files (VIs) missing and I couldn't find alot of them.

0 Kudos
Message 5 of 14
(4,584 Views)
Brandon,

That sounds like that must have been the problem. If you still experience this problem in the future, I would suggest a reinstall of the Report Generation Toolkit. This will guarantee that all of the required VIs are in the correct places that LabVIEW 8.20 will search for them. Anyway, I'm glad you're up and running. Have a great day!

Mike
Message 6 of 14
(4,577 Views)
Thanks for all your help Mike.
0 Kudos
Message 7 of 14
(4,566 Views)

I had the same problem with the lvjpeg folder as Brandon. I had just built another application where the problem did not occur, but my new project used the Report Generation Toolset. So I included the _Excel Dynamic VIs.vi and _Word Dynamic VIs.vi in the project. When I built the executable, the lvjpeg folder was displayed as a part of the executable package. Then I built the installation package, I got the same error message. And as it turns out, I had also completely deleted all NI products from my workstation so that I would have a clean install of LV 7.1, LV 8.0.1, and LV 8.2.0. (Of course, the Report Generation Toolset only works on the LV 8.2.0 installation, sad to say).

Any way, rather than just copying the files to my project heirarchy, I opened the two VIs (_Excel Dynamic VIs.vi and _Word Dynamic VIs.) and noticed that they had the unsaved asterisk (*) in the title bar. I "Saved All" and that fixed the problem.

Chuck

0 Kudos
Message 8 of 14
(4,472 Views)

Chuck,

     Thanks for your suggestion. I recently had the same problem and your suggestion about opening the dynamic VI files and saving did the trick.

0 Kudos
Message 9 of 14
(4,421 Views)

Chuck,

Worked for me too, Thanks.

0 Kudos
Message 10 of 14
(4,336 Views)