04-21-2015 12:37 AM
Hi there,
I've managed to generate an executable to run the LabVIEW VI. However, an error message pops up saying that I'm missing 20-odd sub VIs. I'm trying to run the .exe on the build computer (before I move elsewhere).
These sub VIs are all present in the Dependencies list. Have I missed something? Suggestions?
Cheers.
04-21-2015 12:47 AM
Are you calling the Sub VIs dynamically? How did you build the Exe file?
04-21-2015 12:48 AM
I do not know what it is to call a sub VI dynamically.
I used Application Builder to build the .exe.
04-21-2015 01:27 AM
The subVIs are called statically.
04-21-2015 01:35 AM - edited 04-21-2015 01:47 AM
Did you install the full run time engine (not just the minimum or web brower plugin)? What version?
Can you tell us the names of some of the missing VIs? Are they your own or from vi.lib?
04-21-2015 08:48 AM
Are you using the Report Generaton Toolkit?
04-21-2015 10:41 AM
Did you built an installer or did you just move the executable?
If you just moved the executable, did you remember to keep the "data" folder next to it?
04-21-2015 07:17 PM
The LabVIEW Run Time Engine installed is 12.0.1 (I'm running LabVIEW 2012). I don't know if it's the full time engine or not, this was installed before my time. I've just tried to install "LabVIEW 2012 SP1 (32-bit) Run-Time Engine for Windows", but it said "cannot install" as a higher version is already installed.
The missing vi's are all related to mysql VI's from two libraries. Included sql_open.vi, sql_close.vi, etc.
Yes, I'm using the Report Generation Toolkit.
I built just the executable, not an installer. I've not tried to move the executable. I'm trying to run the executable on the same machine that it's built on.
04-21-2015 07:56 PM
It looks like Labview Run-Time versions 8.2.1, 8.5.1, 8.6.1, 2009 SP1, 2009 SP1 (64-bit), 2010 SP1, 2010 SP1 (64-bit), 2011 SP1 f2 are also installed. Is it a bit too much?
04-21-2015 08:28 PM
The Report Generation Toolkit actually dynamically loads in classes, so you have to force them to be in your executable. You do this by adding the libraries from vi.lib to your project and then add them to the "always include" in the build spec of the executable.
I'm not sure about the mySQL as I have not used that library.