LabVIEW Executable Fails to Run Because PPLs Are Not Being Properly Loaded

Updated Dec 20, 2023

Reported In

Software

  • LabVIEW
  • LabVIEW Application Builder Module

Issue Details

My LabVIEW executable will not run, and it starts looking for missing dependencies, the code works well in the development environment.

Solution

LabVIEW Packed Project Libraries (PPLs) as compiled code have hardcoded relative paths to the files they need, including other PPLs.

If you have a PPL that depends on another PPL their relative path must match after building the executable. As a general suggestion, try to keep your PPLs in the same directory as that will ease any dependency management.

Additional Information

This documentation offers great tips to manage PPLs in your LabVIEW project.