Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Data acquisition using cRIO-9066 and C++

Solved!
Go to solution

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?

0 Kudos
Message 1 of 4
(4,843 Views)

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,

Nadine H.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 4
(4,800 Views)

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?

 

0 Kudos
Message 3 of 4
(4,792 Views)
Solution
Accepted by topic author aanodin

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.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 4 of 4
(4,781 Views)