LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Build Error. LV 2011

Solved!
Go to solution

Hello,

 

I have a systematic error when I try to build a .exe from my proj.

The error message I receive is this:

-------------------------------------

The VI is broken. Open the VI in LabVIEW and fix the errors.
D:\Xenteo Reader Crypto Nailbed\Analog check\Main.vi<Call Chain>Error 1003 occurred at AB_Targetfile.lvclass:Open_Top_Level_VIs.vi -> AB_Build.lvclass:Build.vi -> AB_Application.lvclass:Build.vi -> AB_EXE.lvclass:Build.vi -> AB_Build.lvclass:Build_from_Wizard.vi -> AB_UI_Page_Preview.vi
Possible reason(s):
LabVIEW:  The VI is not executable. Most likely the VI is broken or one of its subVIs cannot be located. Select File>>Open to open the VI and then verify that you are able to run it.

-----------------------------------------

It appears like some subVI is broken or not functional but when I run it everything seems OK. 

Any idea I can overcome this issue?

In attach the full project with the related subVI

 

0 Kudos
Message 1 of 6
(3,452 Views)
Solution
Accepted by Alfares

Hello Alfares,

 

Have you already tried the steps described in the following document?

http://digital.ni.com/public.nsf/allkb/705C2ECA081F3C7986256C0F00559B02

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
Message 2 of 6
(3,416 Views)

thank for the suggestion. 

I follow the doc and I fixed the prob.

 

0 Kudos
Message 3 of 6
(3,392 Views)

I've got another really interesting build error in this category. It's pretty specific, but maybe this can help someone else. I'm build a project around the Actor Framework and one of my actors has a Picture control on the FP. It works fine in the development environment, and the executable that calls the specific instance of the Actor builds fine UNLESS I load some image data into the picture control and save the result as the default for the control. I get a 1003 error:

 

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 AB_Targetfile.lvclass:Open_Top_Level_VIs.vi -> AB_Build.lvclass:Build.vi -> AB_Application.lvclass:Build.vi -> AB_EXE.lvclass:Build.vi -> AB_Engine_Build.vi -> AB_Build_Invoke.vi -> AB_Build_Invoke.vi.ProxyCaller

Possible reason(s):

LabVIEW: The VI is not executable. Most likely the VI is broken or one of its subVIs cannot be located. Select File>>Open to open the VI and then verify that you are able to run it.

 

Delete the picture control, add a blank one and DON'T save the value to default and it builds fine again. Hm. 

0 Kudos
Message 4 of 6
(3,284 Views)

Hello Ryan,

 

I have some things you can try:

- Please go to the Advanced section of your application's Properties.

- Does unchecking Disconnect type definitions and remove unused polymorphic VI instances resolve the issue?

- Does enabling Debugging in this section ("Advanced") fix the issue?

 

My first "guess" would be that the first option is the culprit (depending on the usage of polymorphic VI instances)

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 5 of 6
(3,263 Views)

ThiCop,

 

I had already worked through the previous suggestions, including the Application Properties settings, individual VI settings (debugging, inline, etc.), class-private-data-with-class-VI-reference craziness, etc. to no avail.

 

My application is building fine again, but at any point I can break it by loading some non-empty image data, right-clicking the image control on one of my actor's front panels » Data Operations » Make Current Value Default, and saving the VI. I can then fix the issue by deleting the image control and dropping one without a non-empty default value (rewiring it appropriately).

 

Thanks for the suggestions, though...

 

-Ryan

0 Kudos
Message 6 of 6
(3,253 Views)