FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 1003 when I build an exe

Hi,

I try to build an application which communicates with a cFP2120 with variables. When I try to do that, the builder returns me an error 1003... What is the problem? Thanks.

Olivier
0 Kudos
Message 1 of 15
(8,916 Views)
Hi!
  Look here:   http://zone.ni.com/reference/en-XX/help/lv/71/lverror/Misc_LV_Error_Codes/

   "VI is not executable".

   Can you write down the complete sentence you get when trying to build application? Are you able to test in debug mode?

    Waiting for news...

graziano
0 Kudos
Message 2 of 15
(8,908 Views)
Here is the message:

Visit the Request Support page at ni.com/ask to learn more about resolving this problem. Use the following information as a reference:

Error 1003 occurred at ABAPI Dist Chg and Save VIs.vi -> ABAPI Dist Build LLB Image.vi -> ABAPI Copy Files and Apply Settings.vi -> EBEP_Invoke_Build_Engine.vi -> EBUIP_Build_Invoke.vi -> EBUIP_Build_Invoke.vi.ProxyCaller

Possible reason(s):

LabVIEW:  The VI is not executable.

0 Kudos
Message 3 of 15
(8,905 Views)

Try restarting your build definitions from scratch (close everything, select Build App... and input everything together).

Another thing to try is to open your top level VI and press Ctrl+Shift+Run (the run arrow). This will force compile your VI and if there is any problem it will break.

Also, as Graziano said, can you run it without building?


___________________
Try to take over the world!
0 Kudos
Message 4 of 15
(8,899 Views)
Yes, my application runs without building it, and I also tried Ctrl+Shift+Run, and it compiles with no problem. Maybe the problem comes from the variables: I use variables that are defined in the cFP section of the project manager?
0 Kudos
Message 5 of 15
(8,898 Views)
Well, I don't have 8.0 yet, so I don't know about the shared variables, but you might wish to search the site for the 1003 error to see if there is anything on it. Also, note that the error comes from one of the Application Builder VIs (that's the AB prefix). Can you build other applications?

___________________
Try to take over the world!
0 Kudos
Message 6 of 15
(8,896 Views)
OK!

I have found, finally! The error comes because I write on a boolean variable with a stop button: why I don't know, but now it works. It's strange that I didn't have this error when I execute the program directly from Labview (without building it)... Thanks for your help!

Olivier

0 Kudos
Message 7 of 15
(8,891 Views)
Hello-- Nanotube, can you elaborate on your solution?

I have the exact same message when trying to build.  The application is completely executable in LV 8.0, and I use the App Builder often to build other projects.  For some reason, the app builder will not build this one.  Any input is appreciated.

thanks,
Darren

-------------------
Visit the Request Support page at ni.com/ask to learn more about resolving this problem. Use the following information as a reference:

Error 1003 occurred at ABAPI Dist Chg and Save VIs.vi -> ABAPI Dist Build LLB Image.vi -> ABAPI Copy Files and Apply Settings.vi -> EBEP_Invoke_Build_Engine.vi -> EBUIP_Build_Invoke.vi -> EBUIP_Build_Invoke.vi.ProxyCaller

Possible reason(s):

LabVIEW:  The VI is not executable.
-------------------

0 Kudos
Message 8 of 15
(8,821 Views)
I think I found it:

This was an old (LV 5.1) application that was being upgraded to LV 8.0.  In the upgrade, I used a number of the new 'diagram disable' structures.  The code executed fine in LV 8.0, but could not be built into an executable (see above post).  On a hunch, I deleted all the code in all of the disabled structures... then was able to build the application successfully.

Is it possible that the development version of LabVIEW 8.0 is smart enough to ignore broken code in a 'disable diagram', but the Application Builder is not? 

If any NI folk can verify this I'd appreciate it.
Darren

0 Kudos
Message 9 of 15
(8,819 Views)
Well,

If I bond the stop button to a boolean variable declared in the project manager, the application can't be built. Hope that it can help.
0 Kudos
Message 10 of 15
(8,809 Views)