Checking the Version of LabVIEW in Which the Code Was Written

Updated Jul 27, 2023

Reported In

Software

  • LabVIEW

Issue Details

How can I determine in which version of LabVIEW my code was written in?

Solution

There are several ways to determine in which version of LabVIEW a VI was saved:

  • Method 1: The easiest way is to navigate to File >> VI Properties>> General category. The Source version, the version the VI was originally written in, is in the bottom left of the tab as seen below.

  • Method 2: To get the source version programmatically, use the Application Invoke Node Get VI: Version.
  • Method 3:  If you attempt to open a VI that was saved in a newer version of LabVIEW, an error message will pop up, displaying the version of LabVIEW the VI was saved in.

 

Additional Information

In the VI Properties, you can also enter or review notes on your particular version under Revision History.

Prior to LabVIEW 7.0, you can programmatically examine portions of the VI code to determine its version. The attached example SortByVIVersion(OLD).llb contains a demonstration of this technique.  This technique is no longer supported and will result in errors in new versions of LabVIEW.