Modify NI Linux Real-Time Kernel

Updated Nov 15, 2022

Reported In


  • CompactRIO Controller


  • LabVIEW
  • LabVIEW Real-Time Module

Operating System

  • Linux
  • LabVIEW Real-Time (NI Linux Real-Time)

Issue Details

  • I have a non-NI instrument that I would like to interface with my cRIO, which is running Linux. I would like to create a driver by modifying the kernel. Is the NI Linux Real-Time Kernel publicly available? 
  • I found that the macvlan feature can't be used in NI Linux RT, is it possible for me to add the macvlan and modify the NI Linux Real-Time Kernel?


The NI Linux Real-Time Kernel Mirror is available on GitHub, along with instructions and details on how to build and install a suitable kernel for your particular application.

Note: NI will provide the source code for the NI Linux Real-Time kernel, but does not officially support modifications to the kernel. An example of a kernel modification is the addition of a kernel module. Users are free to make changes to the kernel, but will need to have the requisite skill and will need to self-diagnose and resolve any issues. Note that changes to the kernel configuration or source code risks affecting the jitter and determinism of the system and may also prevent NI drivers, including NI-RIO, from loading properly.