NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
jongj
Posts: 19
0 Kudos

DAQmx.dll references Common.dll that does not exist on my machine

Hello,

 

I'm working with a code standards anaylzer tool called FxCop and I have some code using DAQmx.dll.  The error I get basically says that DAQmx.dll (version 9.3.35.219) is referencing a Common.dll (version 9.0.35.610) which cannot be found, but is required for analysis.  Please take a look at the enclosed .jpg for more details.

 

Appreciate any help!

 

Thanks!

-j

Active Participant
Perry_S
Posts: 204
0 Kudos

Re: DAQmx.dll references Common.dll that does not exist on my machine

Hi Jongj,

 

On a windows 7 machine that file is found:

 

C:\Program Files\National Instruments\MeasurementStudioVS2010\DotNET\Assemblies\9.0.35.610

 

What operating system are you using? These files are installed when you install Measurement studio so one thing to check the list of things that you selected to install in the National Instruments software group under Add/remove programs. You may have to modify the installation.

 

Regards,

 

Perry S.

Applications Engineer
National Instruments
Member
jongj
Posts: 19
0 Kudos

Re: DAQmx.dll references Common.dll that does not exist on my machine

Hey Perry,

 

Thanks for the response.  I'm using the Windows XP o/s with Visual Studio 2008 and Measurement Studio 2010.  So it sounds like the Common.dll version I need is under the VS2010 installation?  I can't remember exactly, but I seem to recall that I could not install MS for VS2010 without actually having VS2010 on the machine.  Would there be another way of getting the dll by any chance?

 

Thanks for any info!

 

-J

Active Participant
Perry_S
Posts: 204
0 Kudos

Re: DAQmx.dll references Common.dll that does not exist on my machine

Hi jongj,

 

It is not only for Visual Studio 2010 there is a version of the folder for Visual Studio 2008. It should be at the following location:

 

D:\Program Files\National Instruments\MeasurementStudioVS2008\DotNET\Assemblies\8.9.35.302

 

if it is not there you need to modify you install of Measurement Studio to include support your version on Visual Studio.

 

Regards,

 

Perry S.

Applications Engineer
National Instruments
Member
jongj
Posts: 19
0 Kudos

Re: DAQmx.dll references Common.dll that does not exist on my machine

Hey Perry,

 

When I did the install I made sure I selected MS for VS2008.  So looking within this path:

D:\Program Files\National Instruments\MeasurementStudioVS2008\DotNET\Assemblies\

 

I have the following folders:

8.9.35.111

9.0.35.156

9.0.35.157

9.0.35.292

9.1.35.159

9.3.35.219

Current

 

I do not see the 8.9.35.302 folder.  If I reinstall MS is there a particular selection I need to choose?  The only one I selected was for VS2008 and it went off and did the installation process.

 

Thanks!

-J

Active Participant
Perry_S
Posts: 204
0 Kudos

Re: DAQmx.dll references Common.dll that does not exist on my machine

Hi jongj,

 

That particular version number is specific to my install. You will need to point to the specific version of the file that it requires or a later version. They are usually backwards compatible.

 

Regards,

 

Perry S.

Applications Engineer
National Instruments
Member
jongj
Posts: 19
0 Kudos

Re: DAQmx.dll references Common.dll that does not exist on my machine

Hi Perry,

 

I guess that is kind of my point that I cannot seem to find Common.dll version 9.0.35.610 anywhere.  is there a way to get this specific version?

 

Thanks,

 

-j

Active Participant
Perry_S
Posts: 204
0 Kudos

Re: DAQmx.dll references Common.dll that does not exist on my machine

Hi jongj,

 

Have you tried using a later version like:

 

9.1.35.159

9.3.35.219

 

Any of these should work. They would contain the functions that are being called by your DAQmx functions.

 

Regards,

 

Perry S.



Applications Engineer
National Instruments
Member
jongj
Posts: 19
0 Kudos

Re: DAQmx.dll references Common.dll that does not exist on my machine

Yes I have used later versions of the dll.  FxCop still complains about it.  If you have a copy of that exact version I need that would be awesome if you could provide that to me.

Member
Ozlem_Unan
Posts: 72
0 Kudos

Re: DAQmx.dll references Common.dll that does not exist on my machine

Hello jongj,

 

Did you find the version 9.0.35.610? If yes, where can I find that dll? Else how did you fix your problem?

 

Thanks.

 

Özlem

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page