el 11-26-2008 07:49 PM
I get this error when trying to build my application
An error occurred while building the following file:
C:\Program Files\National Instruments\LabVIEW 8.2\vi.lib\gmath\NumericalOptimization\cg_Derivative Fletcher.vi
The VI became broken during the build process. Open the Build Specification and enable debugging to include the front panel and block diagrams.
Visit the Request Support page at ni.com/ask to learn more about resolving this problem. Use the following information as a reference:
Error 1502 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: Cannot save a bad VI without its block diagram.
I already do a Mass Compile to that library and still receive the same error.
Please Help
¡Resuelto! Ir a solución.
el 11-27-2008 09:05 AM
Hi Javier!
You can try to do these:
In the Additional Exclusions section of your build specification window select Do not disconnect type definitions or remove unreferenced members. Another option is to enable debugging. This can be done by navigating to the Advanced section of the build specification, and check Enable debugging.
Another thing to take into consideration is that if you have code that will never execute, that can be corrupting your VI. For example if you have a case structure with a constant instead of a control.
Hope this helps, have a great day!!
Oswald 🙂
el 11-27-2008 11:04 AM
Thankyou Oswald
Your help was very useful to me, but the real trouble was a Global Variable with an Array of clusters that LabView was registering bad, LabView was registering this Global Variable with:
The Array
The cluster (typedef name strict)
The same cluster (with n elements)
The n elements
So I delete the cluster, the array and buil it again and the global variable fix itself now I have
The Array
The cluster (with n elements)
The n elements
This was a weird bug of Labview 8.2.1
Thankyou
My Best Regards
Javier