Solution
During a standard installation, the NI-DAQ
™mx driver will detect Application Development Environments (ADE) installed on the computer and installs the support for each accordingly. NI-DAQmx can provide ADE support for the following ADEs:
- LabVIEW
- LabWindows/CVI (ANSI C)
- Microsoft Visual Studio with NI Measurement Studio (.NET)
If the recommended order of installation (1. ADE 2. NI-DAQmx driver) was not followed, the NI-DAQmx driver may not have installed the .NET components.
To add the .NET components, you will need to modify your installation. If you are installing NI-DAQmx for the first time, skip to step 3.
- From the Control Panel in Windows, go to Programs and Features.
- In the next window, double-click NI Software to open the National Instruments Add/Remove Software window. Select your NI-DAQmx ADE Support installation in the Products tab, and click the Modify button to launch the NI-DAQmx installer. If you are using software from 2017 or newer, these steps may launch NI Package Manager instead of the NI Uninstaller. In that case, it may be easier to uninstall and then reinstall the driver.
- Choose Custom as the installation option.
- In the NI-DAQmx installer, expand Application Development Support under NI-DAQmx.
- Under Application Development Support, expand the .NET Framework that corresponds to your version of Visual Studio. Select the option to Install Locally.
- If you are upgrading to a new version of Visual Studio, make sure the .NET Framework is installed on your computer. You can determine which framework you have and download the version you need by visiting How to: Determine which .NET Framework versions are installed | Microsoft Docs on the Microsoft website.
.NET Framework and Visual Studio Versions
Visual Studio Version | .NET Framework Version |
---|
2015 | 4.6 |
2013 | 4.5.1 |
2012 | 4.5 |
2010 | 4.0 |
- Select to install the Examples for your .NET Framework. Selecting the .NET Framework Languages Support option in the installer tree will install the underlying .NET assemblies along with examples and documentation. The Measurement Studio Integration for Visual Studio option requires Measurement Studio to be installed. If you do not have Measurement Studio, remove this feature and you will still have access to the .NET assemblies, examples, and documentation.
- Select Next and follow the steps to complete the installation. A reboot will be required.