Create an Instrument Driver Using the NI Linux Real-Time Kernel

Updated May 15, 2018

Reported In

Hardware

  • CompactRIO Controller

Software

  • LabVIEW
  • LabVIEW Real-Time Module

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? 

Solution

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.

WAS THIS ARTICLE HELPFUL?

Not Helpful