12-02-2014 08:22 AM - edited 12-02-2014 08:23 AM
Hi there!
I want to write a C++ application which would acquire data from some modules installed in cRIO-9066 chassis and this application have to work without LabView. How can I do it? Can I connect this chassis to my PC using NI DAQmx? Is it possible?
Solved! Go to Solution.
12-03-2014 06:11 PM
Hello aanodin!
cRIOs are not compatible with NI-DAQmx because they don't use the same data acquisition process as our DAQ devices. They would instead use the LabVIEW Real-Time Module and the NI-RIO driver. Since the cRIO-9066 controller's operating system is Linux Real-Time, you can deploy your C++ code directly to your target using the C/C++ Development Tools for NI Linux Real-Time, Eclipse Edition. I would recommend reading the following articles:
White Paper on Getting Started with C/C++ Development Tools for NI Linux Real-Time, Eclipse Edition:
http://www.ni.com/tutorial/14625/en/
White Paper on C/C++ Embedded System Design Tools:
http://www.ni.com/white-paper/14623/en/
Evaluation of C/C++ Development Tools for Ni Linux Real-Time, Eclipse Edition 2014:
http://www.ni.com/download/labview-real-time-module-2014/4846/en/
I hope this helps!
Regards,
12-04-2014 12:33 AM
Thank you, Queen_Nadine!
Does it mean that I can only run my C code on the device and there is no way to acquire any measurement data on the host computer without LabView?
12-04-2014 06:41 AM - edited 12-04-2014 06:43 AM
You could use TCP/IP to stream the data to a Windows computer and have that computer log the data or do whatever else you need.
But you might want to just get a cDAQ Chassis instead and then you can just use the DAQmx API.