07-31-2009 01:24 PM
Dear NI,
I'm using LabView 8.5, I can't build my application after massived change the the code. I try follow the instruction on the Error 1003, but didnot work out. Below is my mass compile result:
#### Starting Mass Compile: Fri, Jul 31, 2009 2:08:51 PM
Directory: "D:\Generic Controller"
Search failed to find "semaphor.lsb" previously from ""
#Reload LVSBs: CIN (semaphor) was loaded from inside VI (C:\Program Files\National Instruments\LabVIEW 8.5\vi.lib\Platform\synch.llb\Semaphore Core.vi)
#Reload LVSBs: CIN (semaphor) was loaded from inside VI (C:\Program Files\National Instruments\LabVIEW 8.5\vi.lib\Platform\synch.llb\Semaphore Core.vi)
#Reload LVSBs: CIN (semaphor) was loaded from inside VI (C:\Program Files\National Instruments\LabVIEW 8.5\vi.lib\Platform\synch.llb\Semaphore Core.vi)
#Reload LVSBs: CIN (semaphor) was loaded from inside VI (C:\Program Files\National Instruments\LabVIEW 8.5\vi.lib\Platform\synch.llb\Semaphore Core.vi)
#Reload LVSBs: CIN (semaphor) was loaded from inside VI (C:\Program Files\National Instruments\LabVIEW 8.5\vi.lib\Platform\synch.llb\Semaphore Core.vi)
#Reload LVSBs: CIN (semaphor) was loaded from inside VI (C:\Program Files\National Instruments\LabVIEW 8.5\vi.lib\Platform\synch.llb\Semaphore Core.vi)
Search failed to find "RESISTANCE AND VOLTAGE DISPLAY.vi" previously from "D:\Generic Controller\Instrument Classes\Temperature Reader\,DanaInfo=owa.draper.com,SSL+RESISTANCE AND VOLTAGE MAIN.vi\RESISTANCE AND VOLTAGE DISPLAY.vi"
Search failed to find "RESISTANCE AND VOLTAGE INITIATE.vi" previously from "D:\Generic Controller\Instrument Classes\Temperature Reader\,DanaInfo=owa.draper.com,SSL+RESISTANCE AND VOLTAGE MAIN.vi\RESISTANCE AND VOLTAGE INITIATE.vi"
Search failed to find "Temperature Read.vi" previously from "D:\Generic Controller\Instrument Classes\Temperature Reader\,DanaInfo=owa.draper.com,SSL+RESISTANCE AND VOLTAGE MAIN.vi\Temperature Read.vi"
Search failed to find "RESISTANCE AND VOLTAGE CONFIG.vi" previously from "D:\Generic Controller\Instrument Classes\Temperature Reader\,DanaInfo=owa.draper.com,SSL+RESISTANCE AND VOLTAGE MAIN.vi\RESISTANCE AND VOLTAGE CONFIG.vi"
### Bad VI: ",DanaInfo=owa.draper.com,SSL+RESISTANCE AND VOLTAGE MAIN.vi" Path="D:\Generic Controller\Instrument Classes\Temperature Reader\,DanaInfo=owa.draper.com,SSL+RESISTANCE AND VOLTAGE MAIN.vi"
#Reload LVSBs: CIN (semaphor) was loaded from inside VI (C:\Program Files\National Instruments\LabVIEW 8.5\vi.lib\Platform\synch.llb\Semaphore Core.vi)
#Reload LVSBs: CIN (semaphor) was loaded from inside VI (C:\Program Files\National Instruments\LabVIEW 8.5\vi.lib\Platform\synch.llb\Semaphore Core.vi)
#Reload LVSBs: CIN (semaphor) was loaded from inside VI (C:\Program Files\National Instruments\LabVIEW 8.5\vi.lib\Platform\synch.llb\Semaphore Core.vi)
#Reload LVSBs: CIN (semaphor) was loaded from inside VI (C:\Program Files\National Instruments\LabVIEW 8.5\vi.lib\Platform\synch.llb\Semaphore Core.vi)
#### Finished Mass Compile: Fri, Jul 31, 2009 2:09:05 PM
NOTE: The RESISTANCE.vi is not a part of my applycation.
And below are my build error 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 1003 occurred at AB_Application.lvclass:Open_Top_Level_VIs.vi -> AB_Build.lvclass:Build.vi -> AB_EXE.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. Open the VI in LabVIEW using File>>Open and verify that it is runnable.
08-01-2009 12:59 AM
That's telling me that "RESISTANCE AND VOLTAGE MAIN.vi" is a dependency of your application but it can't find it in order to resolve it during the build.
Look in the Dependency folder in your project...is this VI listed there?
Can you run your application in development mode with no problems?
08-03-2009 09:28 AM
08-05-2009 12:53 PM
I might suggest opening your top level VI and choosing View >> VI Hierarchy in order to look at all dependencies within your VI. Then see if you can locate any of the RESISTANCE*.vi VIs. If you do, you can right-click on them and choose Properties... which will bring up the General VI Properties of the VI which should give the location of that VI on disk. Make sure it is added to your project.
Also, are you using an existing build specification when building the application, or did you create a new one for the largely changed application? I would suggest creating a fresh build specification.
08-05-2009 03:43 PM
Ok, I when through my code and remove some, and try rebuild. I found that the ThisApp class's pirvate cluster containt an Strict Type RefNum of ThisApp class. When I remove this RefNum, LabView seem to let me bulid the application.
After work around on this problem, I found that "Preview" in the Build process show no more error. But when I try to Build the application, the Status Dialog show me that the Build when through a lot of the VI file without error until the end of the build it gave me following error:
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
08-13-2009 09:42 AM
08-14-2009 11:42 AM
Is this issue local to this particular project, or does it occur even if you attempt to build a small application?
Do you get any warnings when you build your executable?
Can you only build it with debug selected?
08-14-2009 11:46 AM
1. Yes, only happen on this perticular project. I can build a small application and run at normal.
2. Did not get any warning during build or Preview.
3. Preview allway tell me it good to go. But if I don't enable the debug option, the build process will complaint at the end of the build.
08-18-2009 08:31 PM
08-21-2009 01:25 PM
Hi guys,
I think I found "one" of the problem that make my application can't be executable event Labview 8.5 let me build executable file successfully. Bellow is the simple project that containt 1 Abstract class and its 2 childrens class. I try to build the source distribution (but it would introduce the same problem).
I divide children classes in to differecenc virtual folder to allow me rename the vi to solve the VI name conflict. However this is the main thing that cause the problem. But since I working on Object Oreiante, therefor I have no other solution for it right now. In my conclusion that, I can't not have multiple children class inherit to one parent class that dynamic link to function call. If you have any work around in this, please let me know.