Hi,
I'm having some trouble, compiling a LabVIEW 2012 project for a cRIO 9074. I did some changes in an existing project which seemed rather minor to me, and since tuesday I only get a compiler error when I try to build it for the target. If I just open and run the VI, I get no error message and it runs without problems/warnings.
This is the message I get:
Cannot complete build because following VI loaded broken:
C:\NI\LV2012\PCB2\Code\Main.vi
Open the VI in LabVIEW and fix the listed errors. If the VI loads as expected but errors are still detected during the build, contact National Instruments technical support for assistance.
- Details Display Dialog.vi:
Function not supported for current target
- Main.vi:
LabVIEW needs more memory to compile VI.
- Not Found Dialog.vi:
Function not supported for current target Sub VI not supported in current target
Details:
Visit the Request Support page at ni.com/ask to learn more about resolving this problem. Use the following information as a reference:
Error 1003 occurred at AB_Get_Detailed_BrokenVI_Message.vi -> AB_Targetfile.lvclass
pen_Top_Level_VIs.vi -> AB_Build.lvclass:Build.vi -> AB_Application.lvclass:Build.vi -> AB_RTEXE.lvclass:Build.vi -> AB_Engine_Build.vi -> AB_Build_Invoke.vi -> AB_Build_Invoke.vi.ProxyCaller
Possible reason(s):
LabVIEW: The VI is not executable. Most likely the VI is broken or one of its subVIs cannot be located. Select File>>Open to open the VI and then verify that you are able to run it.
Sometimes, the compile and deployment finished without errors, but if I tried to open the remote panel, It said, it was broken and could not be opened. Sometimes, LabView crashed during compile as well.
I tried:
- Disabling suspicious code like the new global variable I introduced
- Going back to a previous version of my project
- Changing compiler optimization so that no optimization will occur (set from 5 to 8)
- Reinstalling cRIO software ni-RIO 12.0
- Cleared compiled object cache
I'm afraid there's something wrong with the LabView installation. Or is it the OS itself? Or is there a reason to believe that more RAM will help (I currently have 4GB). This post makes me believe the opposite.
What can I do to check the installation? I don't want to reinstall unless it's sure it helps.
Best regards,
Simo