Is There a Native Database Connectivity Solution for Linux RT Devices?

Updated Dec 20, 2023

Reported In

Software

  • Raima Database API for LabVIEW
  • LabVIEW Real-Time Module

Operating System

  • NI Linux Real-Time

Issue Details

I'm working with an NI device that runs on Linux Real-Time (RT). I need to communicate with a database through this RT operating system. Is there a native solution on this for Linux, similar to the Database Connectivity Toolkit for Windows?

Solution

There is not currently a native National Instruments solution for database connectivity directly from Linux devices. There are, however, third party add-ons for LabVIEW that implement database connectivity on Linux, including the SQLite Library for LabVIEW by Dr. James Powell and the Raima Database API for LabVIEW.

Additional Information

If you have a Windows machine available, you can also use this as an intermediary between your database and your RT device. To do this, you would create a program which receives data (via network shared variables or other methods) from the RT device and then uses the Database Connectivity Toolkit to write this data into your database.