Solution
This behaviour comes because of how a LabVIEW VI is composed.
By default, a VI contains two kinds of code:
- Graphical source code that you edit
- Compiled version of this code that LabVIEW uses to run the VI.
Do not separate the compiled code from VIs that you intend to load or run using the LabVIEW Run-Time Engine. The Run-Time Engine cannot run source-only VIs because it has no access to the compiled object cache that stores the separate compiled code.
To overcome this issue:
- Open the VI.
- Navigate to VI Properties in the General window (ctrl+I).
- Disable the Separate compiled code from source file option.
- Repeat this step for every subVI used in the main VI and then perform a mass compilation.
Alternatively, you can create an image deployment of your sequence file using the
TestStand Deployment Utility. The tool performs a LabVIEW source distribution and removes the separation option from the called VIs.