LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Troubleshooting Build Specification

I have a LabVIEW project (Version 8.2)  that runs fine within the development environment, however, when I try to build it into an EXE I get the following error message...
 
"An error occurred while building the following file:

C:\DMV2\Alignment Station\Application\AlignmentStation.llb\LocateObject.vi

The VI became broken during the build process. Open the Build Specification and enable debugging to include the front panel and block diagrams."

Does anyone know how to troubleshoot this error?  Why would the VI become broken during the build?

Note:  My project uses LabVIEW objects but I've already tried building it using all three options under "Additional Exclusions".

Thanks

0 Kudos
Message 1 of 10
(3,487 Views)

I have just seen this error in one of my builds. I don't know if this will solve yours but it solved mine.

In the VI that is broken during the build process I had a boolean constant connected to a case structure. When I replaced the constant with a control the VI was no longer broken during the build process.

As I said I have no idea why this fixed the issue or if your problem is related, but it is somewhere to start.

Andrew Alford
Production Test Engineering Technologist
Sustainable Energy Technologies
www.sustainableenergy.com
0 Kudos
Message 2 of 10
(3,470 Views)
I appreciate the response, but in this case I didn't have any constants wired to case statements.
0 Kudos
Message 3 of 10
(3,461 Views)
Hi ScotchTape,

I am seeing that there is an existing Corrective Action Request with LabVIEW 8.20 in which someone has reported the same error, "VI becomes broken during build process."

The given workaround listed was to remove some of the polymorphic VIs in the top level VI before building. Would you be able to post your VIs to this thread so that I can take a look?

Best regards,
-Sam F, DAQ Marketing Manager
0 Kudos
Message 4 of 10
(3,437 Views)

Here is a simplified version of my project that still exhibits the problem.

 

I have a custom VB.Net DLL (built using VB.Net version 2003) that interfaces with an Access database.  The ReadOnlyDB class is a LabVIEW wrapper around my DLL.

 

The Main.vi just exercises the class.

 

Please let me know if you have any other questions, or need other information.

 

Thanks,

David

0 Kudos
Message 5 of 10
(3,429 Views)
Hi ScotchTape,

Would you please post DBInterface2.dll ? Thanks!

Regards,
-Sam F, DAQ Marketing Manager
0 Kudos
Message 6 of 10
(3,415 Views)

Sorry,

I must have forgot to add that to the zip.  Here is DBInterface2.dll zipped up (it wouldn't let me attach the DLL)

 

Thanks

0 Kudos
Message 7 of 10
(3,413 Views)
Hi there,

I am able to reproduce this error message, and by stripping down your lvclass, I believe to have isolated the issue sufficiently enough to say that this is a different issue from the existing Corrective Action Request.

I deleted all of the VIs inside this class except for New.VI and your DLL from the project, and have determined that this .Net Constructor inside of a class method is what is causing this to fail at build time. It gives this same "The VI became broken during the build process" error with every constructor that I have tried so far.

I will be making a new CAR for this issue. It does not look like it is possible at this time to obtain this functionality within a class (or at least not directly and in an exe).

Best regards,


-Sam F, DAQ Marketing Manager
0 Kudos
Message 8 of 10
(3,398 Views)

Thanks!  I appreciate your efforts in trying to get to the bottom of this issue.

David

0 Kudos
Message 9 of 10
(3,384 Views)
As a followup, LabVIEW R&D knows about this issue with CAR ID 47KGBBG0

Best regards,
-Sam F, DAQ Marketing Manager
0 Kudos
Message 10 of 10
(3,325 Views)