Hi all,
Integration of DAQmx into a .NET environment is easy. But, if you want to have a loose coupling with DAQmx, things are getting a bit more complicated. You need fixed references now of DAQmx libraries in your project. Concequently, DAQmx must be installed on the build machine as well.
A flat .NET wrapper class to the DAQmx library "nicaiu.dll" seems to me a solution. The project just compiles independent of the existence of DAQmx on the first place, and second, I can determine at runtime with a "Factory" pattern whether to use NI or not on the target PC. That's fine if you want to gradually move from Advantech to National Instruments acquisition. PC's with Advantech acquisition do not require DAQmx installed then.
I found someone who developed a limited wrapper "clsNIDAQmx". But I understood that NI supports the native source code API as well but I could not find the wrapper for the DAQmx.
Any help, hint or source code is appreciated.
Let me know!
Martin