Solution
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.