C/C++ Programming in NI-DAQmx on the CompactRIO

Updated Aug 24, 2018

Reported In

Hardware

  • cRIO-9046
  • cRIO-9042
  • cRIO-9045
  • cRIO-9047
  • cRIO-9043
  • cRIO-9048
  • cRIO-9049
  • cRIO-9041

Issue Details

Is it possible to program the CompactRIO using the C/C++ DAQmx API? What software do I need to accomplish this?

Solution

Some CompactRIO devices support DAQmx. For example, it is possible to program the cRIO-904x family of devices using the C/C++ DAQmx API. 

Programming the cRIO-904x uses the same method as programming a Linux Real-Time integrated controller. NI recommends using Eclipse, a C/C++ Development Tool for NI Linux Real-Time. Instruction guides online walk through how to install and use the Eclipse environment. 

Implementation of NI-DAQmx is the same as other text based programming environments

If you are new to programming in an embedded system, first learn about general methods and other tools that are available. 

WAS THIS ARTICLE HELPFUL?

Not Helpful