Installing Multiple Versions of NI-DAQmx on the Same Machine

Updated Jul 29, 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 version of NI-DAQmx installed at the same time on the same machine. The newer version of the driver will replace the older version when it is installed.  To install an older version of DAQmx on your machine after you have installed a newer version, you will have to uninstall the newer version before you can install the older 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

  • It is possible to run DAQmx and DAQmx Base on the same computer successfully. The reason you cannot run multiple versions of DAQmx is because they call from the same library that can only be accessed by one driver. DAQmx Base makes calls to a different library than the normal version of DAQmx. The reason is DAQmx Base is a stripped down version of DAQmx that is meant to work on operating systems other than Windows.  It is also required for certain DAQ devices with limited memory.  It has limited functionality, and the code can only be used with other computers that have DAQmx Base drivers.
  • 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