11-11-2012 11:13 AM
Hello everyone,
I'm trying to compile a source code written in Labview 8.5 into Labview 2011.
In the old source code I used the "write BMP/JPG/PNG file" VIs.
I noticed that these VIs have changed in Labview 2011.
Either way (using the old or new VIs) I get an error (#1003 - Vi is not executable) when I try to run my compiled .exe file.
Did anyone encounter this problem?
Do you have any idea how to bypass this problem?
Thanks in advance.
11-11-2012 11:21 AM
That does not sound right. Does the target computer have the correct run time engine installed?
LabVIEW code is always compiled, even if a VI is run in the development system. I assume your code runs fine before building the executable. Is this correct?
11-12-2012 01:45 AM
Hello Altenbach,
As you assumed, my code does run before building the exceutable.
I have LABVIEW 2011 Runtime engine installed.
I even reinstalled it, but the problem still remains.
Looks like I'm missing something...
11-12-2012 02:00 AM
Mentos wrote:I have LABVIEW 2011 Runtime engine installed.
I even reinstalled it, but the problem still remains.
Could it be you only installed the minimum run time engine (~32MB)? You definitely need the std (~210MB).
11-12-2012 02:13 AM
I have LVRTE2011f3std.exe which is ~210MB.
Might it be some kind of collision between the old and new vi's (with the same name) I may have in my source code?
11-12-2012 08:46 AM
Could it be an inappropriate license?
(I have the Professional Development System license installed)
11-12-2012 11:41 AM
You don't need a license for the LabVIEW run time engine, and this includes things from the "Graphics Formats" palette.
Are you using anything from the vision module? In this case you may need this.
11-13-2012 12:30 AM
Hi Altenbach,
a) I'm not using anything from the vision module.
b) The probloem looks a bit wider:
In order for my built application to open I need to disable in the source code (before compiling) 3 different groups of VIs:
1) VI's from the Graphics & sound palette (such as Write to BMP file.vi etc.)
2) Math functions, such as vi.lib\Analysis\2dsp.llb\Y[i]=X[i-n].vi or vi.lib\Analysis\2dsp.llb\Unwrap Phase.vi
3) Some file Vis - Read From Spreadsheet File.vi and File Dialog.vi
Any idea what am I missing?
11-13-2012 12:42 AM
Does the executable work on the machine used to build the application?
Have you tried reinstalling the run tim engine?
11-13-2012 12:48 AM
1) Yes, The same PC is used to compile the source code and then check the application. The problem repeats itself on other PCs but all have LABVIEW and source code installed.
2) Yes, I reinstalled the Labview 2011 runtime engine. No change