Move a LabVIEW Project to Another Computer

Updated Oct 11, 2018

Reported In

Software

  • LabVIEW
  • LabVIEW Application Builder Module

Issue Details

I have a project in LabVIEW that includes a complicated hierarchy of VIs, DLLs, data files, variables and other dependencies. How can I easily move this project from its current development computer to another one?

Solution

There are several options for moving the source files to another computer. You can bundle your project and associated files into a ZIP file using LabVIEW Application Builder, or you can use native LabVIEW to either create source distribution of the project, or to save the project to a previous version of LabVIEW.
 

Using LabVIEW Application Builder


Users who need to move non-VI files or VIs from other directories along with their project should use a ZIP file. Complete the following steps to create a ZIP file of your project in LabVIEW Application Builder 8.0 or newer:
 

  1. From the Project Explorer, right-click on Build Specifications and select New»Zip File.
  1. Under the Source Files category of the My Zip File Properties dialog box, you can choose which files will be added to the ZIP file. Selections will be limited to files within the sub-hierarchy of the target who is a parent to the Build Specification.
  2. Once all of the configurations are set, select Build to create the ZIP file.
 

Using Native LabVIEW


If you don't have access to Application Builder, you can still move a LabVIEW project by means of a source distribution or saving the project to a previous version. Creating a source distribution is similar to creating a ZIP file, but allows you to select different destination folders. Saving a project to a previous version is similar to creating a source distribution, but includes the LabVIEW project file.
 

Source Distribution


Since source distributions are meant for distributing LabVIEW code and not necessarily project settings, source distribution will not include the LabVIEW project file, which includes information such as how to deploy shared variables. For instance, the .lvlib file with shared variables is included, but when the top-level VI is run, it will not auto-deploy shared variables like the LabVIEW project file does. Complete the following steps to create a source distribution of your project:
 
  1. From the Project Explorer, right-click on Build Specifications and select New»Source Distribution.
  
  1. Under the Source Files category of the My Source Distribution Properties dialog box, you can choose which files will be added to the source distribution.
  2. Once all of the source distribution configurations are set, select Build to create the source distribution.
 

Save For Previous Version


You can use this functionality to save your project in the current or any previous version of LabVIEW at or newer than LabVIEW 8.0. Complete the following steps to save your project to a previous version:
 
  1. Select File»Save For Previous Version.
  1. Select the previous LabVIEW version to which you want to export your project.
  2. Select a destination directory to which you want to save all project files, including the LabVIEW project file, in the version selected.

WAS THIS ARTICLE HELPFUL?

Not Helpful