How Do I Save a VI Library (LLB) for a Previous Version of LabVIEW?

Updated Dec 21, 2018

Reported In

Software

  • LabVIEW

Issue Details

I want to save a collection of VIs for a previous version of LabVIEW, but I don't want to have to go through and save each one individually using the Save for Previous. Is there a way to save an entire VI library for a previous version of LabVIEW?

Solution

It is possible to save a VI library programmatically by using VI Server as follows:
The steps of saving an LLB to the previous Version of LabVIEW are as below:
  1. Find the LLB source folder.
  2. List the file path of VIs and open VI reference.
  3. Using VI Server->Invoke Method->Save.For Previous.
The idea is to take a folder of LLBs and performs a Save for Previous operation on every VI within each library until the entire folder is saved in the previous version of LabVIEW.

The LabVIEW block diagram to perform this functionality is as below:

Additional Information

For smaller libraries, it may be easier to create a new LLB by rebuilding each file in the LLB in the desired version. The files can then be added to a project in the desired version and built into a LLB.