Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Where to find .Net assembly files?

Hi

 

I've installed NIDAQ940f1Core.zip and I expected the .Net assembly files to be installed as well, but it seems I was wrong. Would you please tell me how can I have the .Net assembly files for NI DAQ USB 6210 (for driver version 9.4)?

 

Thanks,

Mehran

0 Kudos
Message 1 of 6
(5,426 Views)

Namely I'm looking for:

 

NationalInstruments.Common.dll

NationalInstruments.Common.Native.dll

NationalInstruments.Common.DAQmx.dll

 

Which package contains these files?

0 Kudos
Message 2 of 6
(5,422 Views)

I've even downloaded and installed the NIDAQ940f1Config.zip package. Now I have the NationalInstruments.Common.dll library but no sign of NationalInstruments.Common.DAQmx.dll !!

 

I read in some other thread that DAQmx.dll is found in C:\Program Files\National Instruments\MeasurementStudioVS2008\DotNET\Assemblies (64-bit) folder and I followed the address but I've got no MeansurementStudio folder in address C:\Program Files\National Instruments !!

 

Would someone please tell which package contains the .Net library for working with NI DAQ USB 6210?

 

Thanks,

Mehran

0 Kudos
Message 3 of 6
(5,403 Views)

Hi Mehran,

 

Welcome to the NI Forums. Thanks for all of the details.

 

Have you taken a look at this KnowledgeBase Article? It outlines how we can specify whether we want to include the .NET Framework API within the NI-DAQmx driver installation; it's possible that you didn't enable this option. If the NI-DAQmx .NET assembly files have been successfully installed on your computer, you should be able to find some examples of their use from your Start Menu.

 

Select Start >> All Programs >> National Instruments >> NI-DAQ >> NI-DAQmx .NET Framework X.X Help to open the help for programming DAQmx in .NET. These examples will show you how to reference the assembly files from code that you develop.

 

Thanks,


Alex Thomas, University of Manchester School of EEE LabVIEW Ambassador (CLAD)

0 Kudos
Message 4 of 6
(5,396 Views)

Dear Alex,

 

Thank you for your reply, the article you mentioned was of a great help. Yet I don't know which package do I need to install in order to have DAQmx.dll? In the article it's said that I need to have Device Driver CD or NI-DAQmx driver installer, I don't have the CD with me so I tried NI-DAQmx driver installer instead. I've downloaded two smaller versions of the driver already. None of them come with the DAQmx.dll or C# examples. Should I download the 1.3GB driver? Since I'm a bit suspicious if 1.3GB one is the answer to my problem, I thought I should ask for help first.
So let me repeat my question once more. Does the Full version NI-DAQmx driver installer come with the necessary requirements for developing .Net applications? How about the Core Runtime and Configuration Runtime versions?

 

Regards,

Mehran

0 Kudos
Message 5 of 6
(5,392 Views)

Hi Mehran,

 

The DAQmx Core/Base Drivers do contain the necessary framework files in order for them to be used in .NET Applications. I would recommend downloading the larger driver version because this will come with a range of associated examples which define how to successfully interface with DAQmx related DLL functions.

 

The DAQmx.dll file that you are referencing comes from an installation of Measurement Studio; this provides advanced features on top of the general I/O connectivity provided as standard.

 

I believe that in this case you will greatly benefit from installing the full versions of the DAQmx drivers because the associated .NET examples will show you exactly how to interact with the files; i.e. which specific elements of the DAQ installation frameworks you'll be required to make calls to. Generally if these examples aren't installed, then the DAQmx Driver is missing the .NET support option which is configured in the installation.

 

Thanks,


Alex Thomas, University of Manchester School of EEE LabVIEW Ambassador (CLAD)

0 Kudos
Message 6 of 6
(5,366 Views)