03-11-2008 04:51 PM
I have taken TestSatnd default Operator Interface and customized as per our requirement. When I tried to build the exectable of the new code the application buidles shows the following error.,
"
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
03-12-2008 02:52 PM
05-08-2008 03:30 PM
10-16-2008 03:27 PM
10-17-2008 06:27 PM
Hello,
Enable Debugging includes the block diagram in the executable, and having the VI open probably prevented the error for the same reason.
The option should not affect performance, but it may make the exe larger.
Hope that this helps!
11-18-2008 02:20 PM
FieldKam wrote:
Hello,
Do not... remove unreferenced members.
If anyone is getting Error 1502 when building after upgrading to LV 8.6....
I installed LV 8.6 on a machine to see how much work it would it would take to get my main application that was written in 8.5.1 to build on 8.6. I was getting the Error 1502 message and after playing around with it for a while I found that there were at least a couple of different VIs in the project that would cause the problem. It was odd that either of the VIs would work fine as a top-level VI in a debug .exe build, but as sub-VIs they caused the error.
Anyway, the above tip is what finally made my application build troubles go away.
11-18-2008 03:41 PM
11-19-2008 09:14 AM
Actually, I did not enable debugging, I just unchecked the setting for "Remove unused membersof project libraries", which is checked by default. Do you still want code for evaluation?
Travis
11-19-2008 09:26 AM
11-19-2008 02:51 PM