LabVIEW Crashes When Opening an Older Version VI

Updated Nov 8, 2021

Reported In

Software

  • LabVIEW

Other


 

Issue Details

I have a VI that works perfectly with its corresponding version of LabVIEW, but when I am trying to open it with my newer version of LabVIEW, without giving any error, LabVIEW crashes, although the old VI should be opened with my current version of LabVIEW as per How to Upgrade or Revert a VI to a Different Version of LabVIEW.

Solution

Minimizing the gap between the version of the VI and the software version of LabVIEW can fix this issue.

When a big gap (~10 years) exists between the version of the old VI and the software version of LabVIEW used, LabVIEW may crash without giving an error while trying to open the VI.

For example, if you are using LabVIEW2020, and it is crashing while opening a VI of version 7.0, by following the mentioned steps you will be able to successfully open your old VI on your newer version of LabVIEW:

1. Open the VI with LabVIEW2007 or the nearest higher version possible to make sure that the VI is not corrupted.

2. Open the code with a slightly newer version of LabVIEW and save it with the newer version.

3. Repeat the process until you reach your desired version of the LabVIEW code.
LabVIEW2007 > LabVIEW2009 > LabVIEW2012 > LabVIEW2014 > LabVIEW2020

If the code uses functionality that has been changed or deprecated in the newer version, the code may show unexpected behavior or become unusable.
 

Additional Information

Each LabVIEW code(.vi) has a specific version, to check the version of your LabVIEW code you can refer to the article "How to Check What Version LabVIEW Code Was Written In? "

You can download different versions of LabVIEW Evaluation for a 7-day free trial to make the necessary version migration for your VI.