LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI Linux Driver Not Appearing Under LabVIEW 2024 in Ubuntu 22.04 LTS Environment

I downloaded LabVIEW 2024 on Ubuntu 22.04, then installed ni-ubuntu2204-drivers-2024Q1.deb, and afterwards installed packages like ni-daqmx. I followed the installation steps diligently from https://www.ni.com/docs/ja-JP/bundle/ni-platform-on-linux-desktop/page/installing-ni-products-ubuntu.... I also executed 'sudo dkms autoinstall' and 'sudo reboot' as instructed. Unfortunately, ni-daqmx and other components don't appear on LabVIEW's function palette. Additionally, the Measurement IO palette is empty, and strangely, it doesn't contain items like 'system configuration' or 'NI scan engine.' I've tried uninstalling and reinstalling ni-daqmx multiple times, but the results remain unchanged.

 

To investigate outside of LabVIEW, I checked the Hardware Configuration Utility first. I discovered an error message stating "A driver kernel module is installed but not running on your system. If you have recently installed new drivers, run 'sudo dkms autoinstall' and reboot." However, I've already executed these commands.

 

Later, when I tried 'modprobe ni-daqmx,' I received the error "modprobe: FATAL: Module ni-daqmx not found in directory /lib/modules/6.5.0-26-generic." This made me suspect that the necessary module might not exist in the correct directory.

I'm using a Thinkpad X1 Carbon. I've successfully installed LabVIEW and DAQmx on a Windows system of the same model without any issues displaying on the function palette.

 

 

What troubleshooting steps do you think I should take? I'm a beginner with Ubuntu and Linux. Specialists, please share your insights to help me.

0 Kudos
Message 1 of 5
(1,110 Views)

Hardware Configuration Utility Error!

tetora27_0-1711849276667.png

 

0 Kudos
Message 2 of 5
(1,106 Views)

For the API to appear on LabVIEW function palette, you need to install the optional packages:

ni-daqmx-labview-20xy-support
ni-daqmx-labview-support
libnidaqmx-devel

 

Reference: NI Linux Device Drivers 2023 Q3 Readme

 

As for the driver loading error, I don't have much experience with it. What I could find online and recommend:

  1. libnipalu.so Failed to Initialize When Using "nidaqmxconfig" Command on Desktop Linux
  2. Post a question at the Linux Users board
-------------------------------------------------------
Applications Engineer | TME Systems
Message 3 of 5
(1,047 Views)

Thank you.

Regarding the situation afterward, I followed the steps you provided, and the daqmx functions appeared in the VI Palette.

However, as mentioned in the posted image, I encountered a different issue where I couldn't load cDAQ, and despite trying all steps, I felt something was off with the kernel settings.

Ultimately, I resorted to reinstalling Ubuntu and then reinstalling NI products, which resolved the issue. Anyway, I appreciate your kindness!!

0 Kudos
Message 4 of 5
(916 Views)

Hello, I'm experiencing a problem in this procedure - I did all the steps, but I can't install the optional packages using apt on Ubuntu 24.04 LTS. I need to install NI-DAQmx, the required package ni-daqmx works fine, but for the optional ones there is an error message saying that the package of this name can't be found. I've tried all of them, none works, apt search does not find them either. May I ask for any suggestion for resolving this? Thanks!

0 Kudos
Message 5 of 5
(194 Views)