Back to Blog

Implementing the NI CompactRIO System with Real-time Linux + FPGA: A Detailed Guide

#fpga开发#数据采集#自动化#人工智能

Leverage an integrated software toolchain, combined with signal conditioning I/O modules, to easily build and deploy real-time applications.

What is CompactRIO? The CompactRIO system offers high processing performance, sensor-specific I/O, and tightly integrated software tools, making it an ideal choice for industrial IoT, monitoring, and control applications. Real-time processors provide reliable, predictable behavior, while FPGAs excel at smaller tasks requiring high-speed logic and precise timing.

Flexible Development Options

Using LabVIEW with the Real-Time Module and FPGA Module, abstract away low-level code and use tools to build and deploy deterministic applications on CompactRIO systems.

Robust Data Acquisition

Using integrated controllers running NI Linux Real-Time OS and sensor I/O modules, build and deploy robust applications directly on the CompactRIO controller.

Combined Data Acquisition and Control

Leverage the user-programmable advantages of FPGAs, integrate existing IP, to acquire high-quality data, process it in real-time, and provide feedback.

Open and Secure Platform

Collaborate with users and developers in the technical community, and fully leverage the openness of NI Linux Real-Time OS through thousands of open-source applications, IP, and examples.

Why Choose CompactRIO?

Front view of the NI CompactRIO system

CompactRIO hardware uses I/O modules with real-time capabilities (different modules for different sensors or protocols) to provide industrial-grade monitoring and control solutions.

Ideal for the following applications

  • Real-time processing requirements
  • Industrial monitoring and control applications
  • Long-term field testing

Chassis

The CompactRIO chassis is the central component of the integrated system architecture. It connects directly to the I/O for high-performance access to each module's I/O circuitry, as well as timing, triggering, and synchronization. Because each module connects directly to the FPGA, rather than through a bus, CompactRIO's system response has virtually no latency compared to other controller architectures.

Controller

CompactRIO controllers offer excellent performance, feature a rugged design, are certified to industry standards, and include integrated vision, motion control, industrial communication, and HMI capabilities. CompactRIO includes a processor that reliably and deterministically executes LabVIEW Real-Time applications, supporting multi-rate control, execution tracing, onboard data logging, and peripheral communication. CompactRIO controllers are integrated into the CompactRIO chassis.

Modules I/O modules include isolation, conversion circuitry, signal conditioning, and built-in connectivity for direct connection to industrial sensors/actuators. By offering various wiring options and integrating connector junction boxes into the modules, the CompactRIO system significantly reduces space requirements and field wiring costs. You can choose from over 70 NI C Series I/O modules to connect CompactRIO to virtually any sensor or actuator.

Software

You can program the FPGA in CompactRIO using LabVIEW FPGA

Overcome the programming challenges of traditional heterogeneous architectures using NI Linux Real-Time, the LabVIEW FPGA Module, and NI-DAQmx drivers. This combination allows you to program both the processor and FPGA through a single intuitive software tool, enabling faster system development. With integrated, user-friendly software, you can focus on problem-solving rather than low-level programming tasks. This software reduces risk, increases productivity, and minimizes the need to create and maintain I/O drivers, operating systems, and other middleware.

Xinmai provides localized alternative solutions for NI products.