09-28-2010 06:13 AM
The NationalInstruments.DAQmx.ComponentModel.dll file is missing from the NI directories. Could anyone help me? Here is a more detailed description of the problem:
I recently received a new developing machine with 64-bit Windows 7. When I tried to install NI DAQmx and Measurement Studio, I could not find DAQmx.ComponentModel.dll file. I searched the MeasurementStudioVS200X/DotNET subdirectories, but could only find the NationalInstruments.DAQmx.dll file. The same problem occurs with both .Net 2.0 and 3.5 components. I tried reinstalling with different versions (8.8, 8.9, 8.9.5), but the problem persists.
I found this article http://digital.ni.com/public.nsf/allkb/C2603CB09F37AB5086257612005FE9F0 describing a problem with 8.9.5, but it only contains the x.x.35.x version and I would really need the x.x.20.x version of DAQmx.ComponentModel.dll.
Martti
09-28-2010 10:22 AM
Hi Martti,
The NationalInstruments.DAQmx.ComponentModel assembly will only be installed if Measurement Studio integration is also installed. You will notice that when you run the NI-DAQmx installer, there is a sub-feature called Visual Studio Integration under each of the .NET Framework X.X Support features. That integration feature is what installs the ComponentModel assembly. The requirements that enable this feature are:
Could you please describe what behavior prompted you to determine that the NationalInstruments.DAQmx.ComponentModel assembly was missing?
Thanks
09-28-2010 10:25 AM - edited 09-28-2010 10:26 AM
Hi Martti,
That post by LuisG was actually done by me, Jonathan. I signed in with the wrong account. You can respond to me.
10-07-2010 02:33 AM - edited 10-07-2010 02:35 AM
I tried installing Visual Studio 2005 alongside 2008 and reinstalling old DAQmx drivers (8.7). This fixed the problem with the missing DAQmx.ComponentModel.dll, but the drivers do not work in 64-bit Windows 7. Upgrading the DAQmx drivers to 8.8 preserved the old 8.7 dlls in GAC, allowing me to compile and run my program, but it is hardly an ideal solution. I have Measurement Studio standard, Measurement Studio integration is installed but the newer DAQmx drivers do not recognize it. Is the only option to upgrade to Measurement Studio professional?
I use DAQmx.ComponentModel FiniteInputDaqComponent and FiniteOutputDaqComponent classes.
Martti
(Sorry for the delay)