Migrating LabVIEW Old Source Code to LabVIEW NXG

Updated Nov 16, 2018

Reported In


  • LabVIEW


Code Conversion Utility for LabVIEW NXG

Issue Details

I have a VI, which was created in LabVIEW 7.1.1 and I want to open it LabVIEW NXG. 
Is it possible to migrate my VIs or Projects?


Yes, it is possible to migrate LabVIEW Source Code to LabVIEW NXG, with the help of the Code Conversion Utility, which is included in LabVIEW NXG. It is accessible through the Projects tab in LabVIEW NXG's main screen. Select Convert a Project to launch the Code Conversion Utility.
As of October 2018, the Code Conversion Utility in LabVIEW NXG supports conversion of code from LabVIEW 2014 to LabVIEW 2018.

After conversion completes, and you have reviewed the report, you can start to resolve the conversion messages. The conversion report provides several ways to organize messages so they can be resolved in a way that makes sense for your project. For most cases, it will be beneficial to start by focusing on messages which require a manual fix.Click on a message in the conversion report to navigate to its location in the code.

Most scenarios, other than those involving simple applications, will require time investment to resolve conversion messages and return the code to a working state. The amount of time required to resolve the messages varies widely depending on the complexity of the code. Smaller sets of codes (less than 50 VIs) should require a few hours, while larger code sets may require significantly more time to resolve the entirety of the conversion messages.

Note that “Manual Fix” messages must be resolved for the code to compile in the beta. “Review Required” messages should be investigated and have their behavior tested as the converted code may behave differently in the beta due to changes in the way features are implemented. “Info” messages are lower priority but should be covered for aesthetic concerns.
Before converting a whole application, realize that not all features are currently supported in the LabVIEW NXG, see the document Compare LabVIEW 2018 and LabVIEW NXG for an overview about the capabilities not supported in LabVIEW NXG. For small applications, the Code Conversion Utility will produce a close representation of the LabVIEW code. For medium to large size applications, the complexity of conversion and cleanup increases, and you should evaluate what parts of your application to convert and which to keep in LabVIEW.

Additional Information

If you need to open source code from a version of LabVIEW older than 2014 in LabVIEW NXG, you will need to convert the code to a newer version of LabVIEW that is supported by the Code Conversion Utility first.

For example: You have a VI or project created in LabVIEW 7.1.1, and want to convert it to LabVIEW NXG 2.1.
  1. Check the compatibility chart to find out which version of LabVIEW can you use to convert your code.
  2. Convert the code to the never version as described in the compatibility chart, typically by opening the code in a newer version of LabVIEW and saving it.
  3. Open the converted, newer code in LabVIEW NXG, using the steps described above.
If you are considering to migrate a Vision application to LabVIEW NXG refer to the document Frequently Asked Questions about Vision NXG.