02-18-2010 01:11 PM
I have a pretty simple project that is doing some data acquistion from a compactDAQ. VI operates fine in the development environment, but when I try to build it, I get the following error:
The VI is broken. Open the VI in LabVIEW and fix the errors.
C:\projects\Sandbox\CA-Hans\gui\HANS-HS-DAQ.vi
<Call Chain>Error 1003 occurred at AB_Application.lvclass:Open_Top_Level_VIs.vi -> AB_Build.lvclass:Build.vi -> AB_Application.lvclass:Build.vi -> AB_EXE.lvclass:Build.vi -> AB_Build.lvclass:Build_from_Wizard.vi -> AB_UI_Page_Preview.vi
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.
I have mass compiled the directory with no issues. If I build a simple VI that loads the Top level in question, it does so. I query the execution state, and it reports Idle. I can dynamically open the front panel and execute the VI with no problems.
So my Question is why is the App builder choking on it?
Additionally, I have copied the entire project to a new location using the 'save as' option, same problem. I am NOT doing any dynamic VI calls, although that might prevent the VI from running properly... but would not keep it from loading.
And on a tangent note, this harkens back to the begining of the App builder. Errors are cryptic and there is never enough information for more advanced debugging!
02-19-2010 02:57 PM
PJS,
Error -1003 is a difficult error to trace the source. Please see the document below for a stepwise list of options:
With the DAQmx VIs, often the exclusion of polymorphic VI instances can cause this type of behavior, please see Step 8 in the KnowledgeBase to correct this issue.
Thank You,
Pcorcs
Patrick Corcoran
Application Engineering Specialist | Control
National Instruments