Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW Build errors

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

Message 1 of 5
(4,806 Views)

Try selecting Do not disconnect type definitions or remove unreferenced members under Additional Exclusions when you build your executable.

Also try enabling debugging.

Message 2 of 5
(4,790 Views)

Thanks a lot for your help, this issue was solved by enable debugging in the build specifications.

 

Jean

Message 3 of 5
(4,744 Views)
Thanks I had the same problem. Enabling debugging did also the trick for my application
Doc-Doc
http://www.machinevision.ch
http://visionindustrielle.ch
Please take time to rate this answer
0 Kudos
Message 4 of 5
(4,359 Views)

I resolved the issue by setting the following build properties
 - disconnect type definitions
 - enable debugging
 - unselect SRS

 

Thanks for help

0 Kudos
Message 5 of 5
(3,863 Views)