03-05-2009 12:36 PM
I am having difficulties properly opening a distribution exe once built. When I try to open the exe file, a dialog says: "Loading <vilib>:Utility\error.llb\Not Found Dialog.vi" It then asks me to locate the file. This then repeats for a variety of different subVIs of my program.
All of these subVIs are listed as dependencies in my project, and when I build the executible it does not return any errors, just when I try to run the exe. I have tried uninstalling and reinstalling LabVIEW, but this did not solve the problem. My program runs fine from within labview, this error only occurs when I am trying to run a distributed exe.
Anyone have any ideas?
03-05-2009 12:38 PM - edited 03-05-2009 12:39 PM
Did you make an installer? How did you build the executable (what did you include)?
03-05-2009 12:44 PM
I did not make an installer, just an executible. I already have the 8.6 runtime engine on the distribution laptop. I also have this problem when I try to run the executible on my development laptop that has the full labview suite on it.
03-08-2009 10:29 PM
Hello,
Do you face this problem with any executable that you create? Have you tried creating a project with new VIs and then building an application? Also, what are the other VIs that show up as missing?
To deal with the error you mentioned, you could try adding the 'Not Found Dialog.vi' to your project directory. You can find this at Program Files\Naitonal Instruments\LabVIEW 8.6\vi.lib\Utility and then in 'error.llb'. Then, you can create a new application and try running the executable.
I hope this helps.
03-11-2009 11:10 AM
I have The same problem, I can locate the missing vi's and that will make the executable run.
But every time I reopen the executable it asks again for the same vi's
03-11-2009 03:37 PM - edited 03-11-2009 03:47 PM
I am heaving the same problem and I need a solution. Very urgent!
Yuval
03-12-2009 07:01 AM
Alright, it is now working for me. I believe the problem that I was having was due to the general error handler vi. I had customized the "Write to Spreadsheet" vi which has a built in error handler. When I replaced this customized VI with the normal polymorphic Write to Spreadsheet VI, I stopped having the problem of locating files after the build. This might not be the solution for other instances of this happening, but it fixed the problem in my case. I still do not understand why it was not working with the customized version since the VI would run fine on my deveopment machine but not when built, but at least it is working now.
Dan
03-12-2009 08:16 AM - edited 03-12-2009 08:20 AM
Yes very strange,
It is seems as if the behavior is not constant.
On my computer after playing around with the builder properties it suddenly started to work OK. And now I can't make it happen again even if I start a whole new project.
On the other hand, on my second computer, the problem was persistent. I could solve it by adding manually into the project three files that it was searching for, all reside in the \utility\error.llb directory and they are:
Not Found Dialog.vi
Details Display Dialog.vi
Set String Value.vi
Once they were added the executable was working OK. Starting a new project would make the same problem.
As a test case I made a new project with only one vi. Inside it only one sub vi: Simple Error Handler.vi and an error constant attached to it. This configuration is enough to debug the problem.
Any news from NI?
Yuval
03-17-2009 10:29 PM
08-13-2009 03:20 AM
Hi all,
just follow these instruction:
CTRL + SHIFT + RUN on top level vi and everything goes well.
http://zone.ni.com/devzone/cda/tut/p/id/7324#136989_by_Category
http://digital.ni.com/public.nsf/allkb/C1C6FE6231966E278625661F0054A970?OpenDocument