Data Translation’s LV-Link3 (library of VI examples for NI LabVIEW) can be installed and used on Windows systems that already have LabVIEW 2009 or higher (both 32-bit and 64-bit versions). However, LV-Link3 cannot be installed on a Windows system running only LabVIEW NXG. The target system must have a supported NI LabVIEW version installed, along with LabVIEW NXG. For the purpose of this article, version 3.10.1.0 of the LV-Link3 library (DtLvLink_64.dll) was used with LabVIEW 2017 64-bit and then converted in NI LabVIEW NXG v4.0.
For this article, an existing LV-Link3 example, DtAinContinuous.vi, was selected and loaded using LabVIEW 2017. Since LV-Link3 VI files were saved for LabVIEW version 2009 and LabVIEW NXG’s Code Conversion Utility supports LabVIEW versions 2016 and newer, the DtAinContinuous.vi file was saved to an updated version using LabVIEW 2017. However, a simple 'File - Save All' menu option does not save the underlying sub-vi's to LabVIEW version 2017. Therefore, the menu option 'File - Save for Previous Version' was used and version 17.0 was selected. The updated sub-vi's and the DtAinContinuous.vi example were saved to a specified target folder.
Next, LabVIEW 2017 was closed and then LabVIEW NXG v4.0 was opened. On the home screen, the ‘Convert a Project’ option was selected in order to use LabVIEW NXG’s Code Conversion Utility to convert the previously saved LV-Link3 VI example, DtAinContinuous.vi.
A target output directory was entered for the conversion files. Afterwards, the 'Add folders..' button was clicked on to select the specified folder containing the DtAinContinuous.vi related files, saved previously for LabVIEW 2017.
Next, the Preview button was pressed followed by the Convert button; shown in the next image.
After the conversion process completed, the new LabVIEW NXG project files were listed in the Navigation window pane.
The new DtAinContinuous.gvi file was clicked on to load the converted example. For this article, a DT9816-S module was already connected to the system's USB port and therefore selected as the acquisition device for measurements. (Note: The warnings listed in the bottom section do not prevent the example from running, but errors will.)
Diagram view of the DtAinContinuous.gvi example.
-------------------
Disclaimer:
This article demonstrates how an existing LV-Link3 example can be converted to a NI LabVIEW NXG project, as a workaround. At the time of this article, LV-Link3 was not updated for NI LabVIEW NXG support and MCC Technical Support does not support LV-Link3 with NI LabVIEW NXG. Please visit Measurement Computing’s website for future LV-Link3 updates.