11-08-2012 01:57 PM
i am now getting a build application error. i tried a vi that had been build previously, stilll get the error. the program runs ok in labview.
Problem Description :
Hello, i never had a problem 'building application' before.
now i get an error and 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 1502 occurred at AB_Source_VI.lvclass:Close_Reference.vi ->
AB_Build.lvclass:Save.vi -> AB_Build.lvclass:Copy_Files.vi ->
AB_Application.lvclass:Copy_Files.vi -> AB_EXE.lvclass:Copy_Files.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_Frmwk_Build.lvclass:Build.vi -> AB_UI_FRAMEWORK.vi ->
AB_Create_Build_Application.vi -> EBUIP_Global_OnCommand.vi ->
EBUIP_Global_OnCommand.vi.ProxyCaller
Possible reason(s):
LabVIEW: Cannot save a bad VI without its block diagram.
NI Software : LabVIEW version 2011
NI Hardware : Select one if your issue is related to hardware device
Driver Version :
OS : Windows 7
Thank You
11-08-2012 03:48 PM
Try renaming the VI that is giving you the issue and see if you can build the application.
11-08-2012 05:59 PM
Thanks, i tried renaming, building on a different pc... still 'build unseccessfull'
11-09-2012 12:09 AM
I get this a lot,
I mean an awful lot.
Caused when Labview Corrupts a project VI, usualy by one of it's ever so frequent crashes.
It won't tell you it's broken but it is,
Solutions,
Roll back to a previous version,
Delete Start again.
11-09-2012 07:52 AM
This error indicates that during the build a VI needed to be recompiled after its block diagram was removed. A workaround is to keep the block diagram of the noted VI or to enable debugging for the application if a VI is not referenced. There is no "corruption" of a source VI during the build. If possible, please attach or submit to support a copy of the code that demonstrates this issue so it can be further investigated.
11-12-2012 12:25 AM
George,
if my vi's aren't being corrupted, and I am not removing the block diagrams, how come I keep recieving these errors.
The problem co-incides with one of the all to requent Labview Crashes.
I am doing a build right now, and the only way I can make it work is to unmark seperate compiled code in all the vi's in the project.
11-12-2012 08:05 AM
Without knowing the specifics our your setup, I can't provide an answer to your particular issues. I would try to reproduce the issue with a set of code you can provide to support. With this code, R&D can attempt to reproduce and indentify the problem.
11-12-2012 08:11 AM
@Timmar wrote:
I get this a lot,
I mean an awful lot.
Caused when Labview Corrupts a project VI, usualy by one of it's ever so frequent crashes.
It won't tell you it's broken but it is,
Indeed, there is an inconsistency between what's shown on the BD and what actually is there in compiled form. Specially obvious with XControls. The BD's can be completley empty, but still LV searches for the XCtl reference when you open the empty FP and void BD???
Several tricks:
Br,
/Roger