Solution
You are receiving this error because .NET support was not installed with NI-DAQmx on the computer. If you are creating an installer for your .NET application, you may include .NET support for NI-DAQmx with your installer by adding
MStudioDAQmx.msm as a merge module. By default this file is located at
C:\Program Files\Common Files\Merge Modules\MStudioDAQmx.msm. For details on adding a merge module to your project, see
Merge Modules . Although NI-DAQmx .NET support will be installed with your application, NI-DAQmx will need to be installed on each computer which will use your application.
If you are distributing your application without an installer, you must manually install .NET support with NI-DAQmx. To do this, rerun the NI-DAQmx installer, and choose to install ".NET Framework x.x Languages Support", as seen below.