Note: The final release of LabVIEW NXG was LabVIEW NXG 5.1 in 2021. LabVIEW NXG is not recommended for new projects. For more information about the change in the LabVIEW NXG life cycle, refer to the announcement in the LabVIEW Forum.
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. Follow Guidance in the LabVIEW NXG Help on Converting LabVIEW Code with the Code Conversion Utility to Use in LabVIEW NXG.
Before beginning, read through how to prepare your LabVIEW Code for Conversion to LabVIEW NXG.
Before converting a whole application, realize that not all features are supported in LabVIEW NXG, and LabVIEW NXG will no longer be supported by NI technical support as of July 15, 2022.
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.