Installing Multiple Versions of NI-DAQmx on the Same Machine

Updated Oct 31, 2019

Reported In

Software

  • LabVIEW
  • Measurement Studio
  • LabWindows/CVI

Driver

  • NI-DAQmx

Programming Language

  • LabVIEW G
  • C
  • C++
  • C# .NET
  • Visual Basic .NET

Issue Details

I want to install two or more separate versions of NI-DAQmx on my computer because I am using multiple versions of LabVIEW, Measurement Studio, Visual Studio, LabWindows™/CVI™ or other supported application development environments (ADE). Additionally, I see one of the following issues:

  • My older code no longer works after installing a newer version of my ADE.  I installed compatible driver support for my newer version of my ADE.  When I open an old project or code with I am missing my DAQmx functions and VI's or get other errors.
  • When I try to reinstall driver support for the older versions of my ADE, the installation fails with an error message that I already have a newer version installed.
  • The drivers for the newer version of my ADE do not offer the retro or backwards compatibility with my older ADE.

Solution

You can not have more than one version of NI-DAQmx installed at the same time in the same machine. Installing a newer version will automatically update the driver. To downgrade DAQmx, you will have to uninstall the current version first, and then you can install the required DAQmx version. Note: You can only have one version of the DAQmx Runtime driver installed. However, because the DAQmx Runtime driver is backward compatible, it can run code compiled with an older version of DAQmx.

Before installing multiple versions of DAQmx, following the steps below:

  1. Try to find a single version of NI-DAQmx that supports all versions of your ADE.
  2. If you can not find a single version of NI-DAQmx to support your ADEs, consider the following options:
    • Upgrade your code to a supported version, and perform a mass compile to avoid issues.
    • Use one or more virtual machines to contain support across your versions.

Additional Information

 
  • When installing a newer version of NI-DAQmx, it will remove ADE support from ADE versions that are no longer supported. NI-DAQmx typically carries most hardware support forward, so upgrading DAQmx typically will not drop support for a device or module.  Review the readme of your device to ensure hardware support.

WAS THIS ARTICLE HELPFUL?

Not Helpful