06-25-2015 09:40 AM
Hello all,
I'm currently looking for a .NET Source Code Wrapper API or a standalone library for a NI cDAQ-9181 with a NI 9211 thermocouple module installed. I have tried evaluating the Measurement Studio for .NET 4.0, but unfortunately my deployment situation requires a very minimal footprint for the target application. Basically, limited to practically no additional installation of drivers or extraneous software. A runtime environment might be used if it is lightweight enough.
If anyone has any insight into the matter, I would greatly appreciate it.
Thank you
Solved! Go to Solution.
06-25-2015 12:09 PM
In an attempt to be more clear, I'm looking for the possibility of controlling the cDAQ-9181 and NI-9211 via a TCP/IP data stream with generic software commands. Whether those software commands be text based or MODBUS or any other type of protocol does not matter. I realize now this might not be the correct subforum, and I would appreciate any suggestions.
Thank you.
06-29-2015 01:30 PM
Hello Fikemox,
Whatever the application is on this case, you want to make sure of include the DAQmx libraries on the header of your code. You also want to make sure of installing proper NI VISA and NI DAQmx components.
Bye
06-29-2015 06:31 PM
Hi, Fikemox
Have you seen the NI .NET Driver Support white paper? http://www.ni.com/white-paper/14434/en/
It should answer some of your questions. For .NET support in NI-DAQmx, you will need to install the driver and select development support for the version of the .NET Framework you are using.
Thanks,
06-29-2015 08:54 PM
Hello Daniel,
I have seen the NI .NET Driver Support white paper, as this was where I got the idea that an API wrapper might exist outside the libraries.
To be as general as possible, is there any documentation on how to communicate with cDAQ 9181 by strictly using a TCP/IP stream? This would alleviate the need for drivers and extra .NET libraries.
Thank you
06-30-2015 08:46 PM
07-01-2015 09:27 AM
Hello Dennis,
So there is no way to instantiate a simple TCP/IP read and write stream and send string or byte commands to the cDAQ without the driver / .NET libraries / DAQmx runtime installed? Is there no open documentaiton on the commands that are sent to the ethernet devices to read from an analog source?
07-01-2015 09:40 AM
Hi Firemox-
No, there is no documentation on the protocol used to communicate between the host and cDAQ chassis, and the format and content of those commands often changes between versions of NI-DAQmx (and associated cDAQ firmware). Your only supported option will be to use NI-DAQmx and the provided .NET APIs.
07-01-2015 10:13 AM
Thank you for clearing that up Tom, I greatly appreciate it.