06-03-2010 02:44 AM
Hi everyone!
I thought to share the solution for the subject with people like me, who are already familiar with the DAQmx driver and want to use it in .NET, C#. Its quite simple, you only need to import the DAQmx functions you want to use from the "nicaiu.dll", and take care for the parameter types. Thats all. So what I have is this (it only contains the main functions and constant variables I have ever used, but any other function can be imported in the same way).
06-07-2010 05:05 AM
Hi TarPista,
Thanks for sharing your experience. You can see an usefull knowledgebase Programming NI-DAQ in Visual C# .NET on how is possible to use DAQmx with .NET.
National Instruments provides a native .NET API for NI-DAQmx. This is available as a part of the NI-DAQmx driver, just install it manually (Do I need Measurement Studio to use NI-DAQmx in .NET).
Cheers,
Stefo
06-08-2010 02:24 AM
Thanks Stefo, I didn't know that! I will check it!
Cheers,
TarPista