Error 1003 Calling LLB Dynamically On Industrial Controller

Updated Nov 13, 2023

Reported In

Hardware

  • Industrial Controller

Software

  • LabVIEW Real-Time Module

Issue Details

  • LabVIEW returns error 1003 when I try to programmatically launch a VI on an RT target. The code runs fine on my Windows machine and from LabVIEW IDE on my target.
  • I have compiled a Source Distribution (LLB) and deployed it to my Real-Time Industrial Controller.  When I run my code it gives me an error that states:
Error 1003: The VI is not executable.  This error may occur because the VI is either broken or contains a subVI that LabVIEW cannot locate. Select File>>Open to open the VI and verify that you can run it.


What is the issue, and how do I fix it?

Solution

The issue is that the Source Distribution (LLB) is not compiled for the Real-Time OS on the Industrial Controller. 
  • Make sure the VI's that build into the LLB are under the target in your project. 
  • Once you confirm this, right-click them and select Deploy. 
  • After doing this, you can rebuild the Source Distribution (LLB) under the Real-Time target and then deploy it.
Once you perform these steps you should be able to run the code without encountering the error.

Additional Information

In some cases, the problem may come from the format of the VI name. If the VI name includes non-English characters, consider replacing them, recompiling the Source Distribution, and then reevaluating the behavior.