Error 1003 occurred at LabVIEW Invoke Node in Main VI

Updated Aug 29, 2018

Reported In


  • LabVIEW

Issue Details

We have an application which contains the base class for dynamically dispatching the plugins during run-time.
When the application tries to launch the dynamic VI we are getting the error as shown:


For you to overcome the issue, follow the mentioned points:
  • Uncheck Separate compiled code from source code parameter in the specific VI properties.
  • Include in stand-alone application all of the function dependencies from the project by unchecking marked parameters bellow.

Additional Information

  • LabVIEW 20xx (any version) is having a built in compiler in it. This converts the block diagram in to code that runs for the current OS.
  • Applications build out of LabVIEW only contain the run-time engine but not the compiler or editor to edit any VIs.
    • For LabVIEW versions newer than 2011:
      • Whenever a VI is saved  to a hard disk, it saves the Front panel, block diagram, icon/connector pane and complied code into single file (.vi). So when a VI is called from a application (built out of LabVIEW), it uses the complied code (inside the VI) to run the VI.
    • For LabVIEW versions older than 2011:
      • Saving the complied code into the same VI became optional through the VI settings. If you enable this feature, there are lot of benefits like
        • VI size is small
        • Unnecessary checkout and check in of top level VI is avoided in Source code control if the subVI is edited.
      • But the side effect is observed while calling a VI in Run-time engine dynamically. The Application will look for the complied code and if it is not available, then it will fail to run the VI.
  • For LabVIEW 8.x version project it's necessary to check Use LabVIEW 8.x file layout property in build specification.