VI in LabVIEW Packed Project Library Loading as Broken in RunTime Adapter

Updated Nov 2, 2023

Reported In

Software

  • LabVIEW Runtime

Issue Details

I have built a LabVIEW Packed Project Library that I am building into an executable or calling in TestStand using the LabVIEW RunTime Adapter. When I try to run a VI from this library, I receive the following error message:
Unable to load VI <VI name> with the LabVIEW Run-Time Engine version 19.0.

The VI is broken. Please refer to the log file from TestStand for more information
Detailed log stored at 'C:\Users\<User>\AppData\Local\Temp\TestStand\<VI name>.txt

However, loading the VI in the PPL in the LabVIEW Development environment does not show me a broken run arrow.

Solution

This issue is known and is tracked by Bug Report 166199, where 'private' access scope of a library does not propagate properly to the RunTime engine and leads to missing dependencies.

To solve this, change the access scope of all methods and controls inside the PPL to  'public'. This will allow the dependencies to be found and the VI to run.