Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
27 ratings:
 4.33 out of 5     Rate this Document

Error 1003 Occurs When Trying to Create an Executable

Primary Software: LabVIEW Development Systems>>LabVIEW Full Development System
Primary Software Version: 7.1
Primary Software Fixed Version: N/A
Secondary Software: LabVIEW Development Systems>>LabVIEW Professional Development System

Problem:
My VI runs correctly in the LabVIEW development environment. However, when I try building an executable out of the same VI, the build terminates, and I receive the following error message:

Error 1003 occurred at C:\....\internal.llb\...

How can I fix this?

Solution:
This error message can be the result of many different scenarios. To correct the problem, try these troubleshooting steps:
  1. Make sure that all of the subVIs are running correctly (no broken arrows). Error 1003 can occur if any subVI is not executable.
  2. Perform a forced recompile by pressing Control + Shift, and clicking the Run button.
    • This forces LabVIEW to recompile, re-link, and recheck data dependencies from the ground up (as does the application builder), rather than in segments.
    • After this is performed, the run arrow may become broken, which will allow you to trace the error list to the broken part of the VI and to fix it.
  3. If you installed the LabVIEW Application Builder separately, make sure its version matches your LabVIEW version (i.e. LabVIEW Application Builder 8.6 with LabVIEW 8.6).
  4. Mass compile the VI before you build the executable.
  5. Ensure that all VIs used in the distribution have unique names
    • If two VIs of the same name located in two different places are called, the Application Builder may give this error
  6. If you are using LabVIEW 7.0, check to make sure you do not have enumerated typedef with an empty element. This situation can cause Application Builder to return error 1003.
  7. If you are using VI Server, see KnowledgeBase 268B8SXQ: Error 1003 When Using VI Server in a LabVIEW Application.
  8. In Application Builder, under the Application Settings tab, deselect the Disconnect type definitions and Remove unused polymorphic VI instances option.



Related Links:
KnowledgeBase 214A2JPH. How Do I Mass Compile VIs, LLBs, or Folders in LabVIEW?

KnowledgeBase 312GMCW0. Why Do I Get Error 1003 From Application Builder When I Try to Build Excel Macro Example.VI?
KnowledgeBase 268B8SXQ: Error 1003 When Using VI Server in a LabVIEW Application
KnowledgeBase 3E78UM4B: LabVIEW Error 1003 When Trying To Programmatically Launch A VI Using CAN Functions With An EXE Built Using The LabVIEW Application Builder

Attachments:





Report Date: 08/08/2002
Last Updated: 12/23/2009
Document ID: 2O79IHUV

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit