From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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 4
(865 Views)

Hardware Configuration Utility Error!

tetora27_0-1711849276667.png

 

0 Kudos
Message 2 of 4
(861 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
-------------------------------------------------------
Control Lead | Intelline Inc
Message 3 of 4
(802 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 4
(671 Views)