NI-DAQmx on CompactRIO

Updated Aug 1, 2023

Reported In

Hardware

  • CompactRIO Controller

Software

  • LabVIEW Real-Time Module
  • LabVIEW FPGA Module

Driver

  • NI-DAQmx
  • NI CompactRIO

Issue Details

  • Is the NI-DAQmx driver compatible with the CompactRIO platform?
  • I have some VIs written using NI-DAQmx that I would like to use on a CompactRIO, which model should I get?

Solution

CompactRIO-904x and CompactRIO-905x Series:

NI-DAQmx is compatible with the cRIO-904x and cRIO-905x families of controllers. For an example of how to use DAQmx on these controllers, please see Continuously Acquire Data Using CompactRIO with the NI-DAQmx API , as well as the Related Links section of this article. Find more information about these devices here: What is CompactRIO with NI-DAQmx?
 

Other CompactRIO Controllers:

The NI-DAQmx driver is not compatible with other controllers on the CompactRIO platform (900x, 901x, 902x, 903x, 906x, 907x, 908x, among others). This is because these CompactRIO controllers do not contain the NI-DAQmx specific hardware. Even if you are using C Series modules that are compatible with the CompactDAQ (cDAQ) platform, you will have to use either the RIO Scan Interface Mode or the FPGA Interface Mode to program the modules on the CompactRIO.

Additional Information

Please refer to the following document to check the software compatibilities and requirements for your CompactRIO controller: Software Support for CompactRIO, CompactDAQ, Single-Board RIO, R Series, and EtherCAT

If you try to deploy a LabVIEW project or a Real-Time executable that references the NI-DAQmx driver to your CompactRIO, you may receive error messages in in the deployment process or at runtime. An example of an error message that you might see is outlined in LabVIEW Error 1502 When Building an Application. To resolve these errors, remove any references to the NI-DAQmx driver from your project, and then deploy the code again.

For a list of compatible modules with the Scan Engine, FPGA, and CompactRIO with DAQmx, visit the C Series Module Compatibility Chart.