11-12-2008 12:01 PM
When I run a LV created executableI get a dialog that it cannot find the vis listed below. If I navigate to them through the file dialog box my exectuable runs fine. This is a new problem - previously the executable worked as expected. I did recently upgrade to 8.6. I did verify all these vis are present in my 8.6 <vilib> directory. I didn't see anything in the build spec to cause LabVIEW to search for a specific location. I didn't think that would be necessary as these are all native LV vis. I did verify this behavior on two separate systems. Anyone have any ideas?
<vi.lib>\Utility\error.llb\Not Found Dialog.vi
<vi.lib>\Utility\miscctls.llb\LVBoundsTypeDef.ctl
<vi.lib>\picture\picture.llb\Get Text Rect.vi
<vi.lib>\event_ctls.llb\eventvkey.ctl
Solved! Go to Solution.
11-12-2008 03:32 PM
Hi Colin,
Thanks for the post and I hope your well today!
I have not seen this issue before - but you seem to have covered a few of the normal steps.
Do you think you could supply the source code?
If you manual include these files (vi and ctl) in the build spec one assumes this box doesnt appear?
Can you verify the paths for the browsed file and the searched file are the same?
Kind Regards,
James.
11-12-2008 03:35 PM
It sounds like perhaps these are in something that is being called dynamically. If they were statically liked into the hierarchy the application builder would include them into the build automatically. Is there anything else that is coming up as missing?
Mike...
11-13-2008 03:34 AM
Hi,
I think mike is correct - something must be dynamically called.
Where these vi's added to vilib, remember that the LabVIEW runtime engine vilib may not include those vi's. So therefore you will need to include them in the build.
Just a thought, please let us know if you've resolved this issue.
Kind Regards,
James.
11-13-2008 04:35 PM
11-14-2008 04:25 AM
Hi Colin,
Thanks for the reply.
In order to include support files into an executable, these files must
be first added to the project and then they can be included as support
files in the executable. First, to add a file to the project explorer,
right click My Computer >> Add >> File.. and browse to the
file you would like to add.
Once the support files have been added to the
project, they can now be included in the executable. To do this, right
click Build Specifications >> New >> Application (EXE) . In
the Application Properties , select Source Files Settings and add your main VI to the Startup VI's box, and the rest of the
support files to the Always Included box.
Hope this helps,
James.
11-14-2008 07:59 AM
11-19-2008 03:07 PM
Hi Collin,
I hope your well.
I have been away teaching for a few days and want to catch up with your interesting issue.
Did you resolve it in the end?
My thoughts are currently, on the deployment machine can a simple vi reference the problem files (vis/ctls)? Confirm the files are present is obvious.
Please update the post, and we can continue to look into it together.
Kind Regards,
James.
11-19-2008 03:18 PM
11-26-2008 03:59 PM
One way I have been able to get around this problem (experienced many times with LabVIEW 8.6) is to remove all build configurations from the [project (installers, exe dll etc) and to recreate them