Libraries Are Broken After Cloning My LabVIEW Project

Updated Nov 1, 2018

Reported In

Software

  • LabVIEW

Issue Details

I cloned my project in LabVIEW by copying and pasting the files to a new location in my computer and now it seems my libraries (.lvlib) are not executable.  Whenever I open them in LabVIEW there is no broken arrow or error message in the library's VIs, but still I get an error whenever I try to run the whole project.  How do I fix this?

Solution

Cloning a project is not something you should do by copying and pasting directories in another directory or storage media. Instead, try to use the options offered by LabVIEW's project window to make sure your project is cloned successfully and the libraries are exported correctly.
  • To clone your project successfully, refer yourself to this Knowledge Base article:
  • If your project has targets (like FPGA targets) you can use this white paper to clone the project
  • If you have cloned your project and still get errors related with your .lvlib files, try to select the lvlib file that is giving you an error, then right click on it and select  Save >> Save.This will ensure the internal paths in the libraires and the project get fixed.
  • If you are using an old version of LabVIEW and wish to move your code to a newer version, refer yourself to this white paper to be sure you can open the VIs in the target version. Sometimes you need to reopen the project in an intermediate version between the original version of LabVIEW you used and the target version you want.

WAS THIS ARTICLE HELPFUL?

Not Helpful