07-16-2009 02:10 PM
Hi,
An error as follows has occurred when building the exe file:
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 Invoke Node in AB_Source_VI.lvclass:Close_Reference.vi->AB_Build.lvclass:Copy_Files.vi->AB_Application.lvclass:Copy_Files.vi->AB_Build.lvclass:Build.vi->AB_EXE.lvclass:Build.vi->AB_Build.lvclass:Build_from_Wizard.vi->AB_UI_FRAMEWORK.vi->AB_Item_OnDoProperties.vi->AB_Item_OnDoProperties.vi.ProxyCaller
Possible reason(s):
LabVIEW: Cannot save a bad VI without its block diagram.
Method Name: Save:Target Instrument
The code was built successfully in all previous version. Only a few minor changes to the latest code: a global variable was added and a few calculation algorithm were updated.
Does anyone have any idea about this error?
Thanks in advance,
Jean
07-17-2009 03:56 PM
Hello Jean,
One thing that has worked in the past for this error is to enable debugging in the build specifications. Let me know if you still have problems with this error.
07-24-2009 04:15 PM
Thanks a lot for your help, this issue was solved by enable debugging in the build specifications.
Jean
09-28-2009 05:19 AM
We got same error in similar circumstances (upgraded to LV 8.5 and minor changes to vis). The error also disappears when we select enable debugging, which includes block diagrams in the EXE file. Our problem is with the executable file size, which is about 40MB when this option is selected. Our application is quite largeand even without the block diagrams the size is about 20Mb which is already large indeed.
Is there any other way to get rid of this error and do not increase the exe file size? What is the reason of the error, in the first place?
Thank you
09-29-2009
01:36 PM
- last edited on
06-25-2024
10:24 AM
by
Content Cleaner
Hello AOrtin,
Another possible workaround for this issue is to use the additional exclusions section of Application builder. Uncheck all of the items on this category as shown below.
Also, are you getting the exact same error as described above? There were two bug fixes in LabVIEW 8.5 for Error 1502 when building EXEs but you mentioned that you are already using LabVIEW 8.5.