08-20-2025 04:15 AM
Hello, I am running a PCIe-6343 on Lubuntu and it was working before and now it's not.
Output of uname -a:
Linux mario 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
Output of nilsdev:
Dev1 [Failed to Load]
BusType: PCIe
DebugSession.Configured: 0
DebugSession.ServerEnable: 1
DebugSession.ServerIsOutOfProcess: 0
DevInitStatus: -50258
DevSerialNum: 0x20FF6DA
PCI.BusNum: 0x4
PCI.DevNum: 0x0
ProductNum: 0x742DC4C4
ProductType: PCIe-6343
Output of nidaqmxconfig --reset Dev1:
Failed
Error -50258
The specified software component failed to initialize. The operation could not be completed as specified.
Looking through systemctl for everything ni*, I saw this one service, nidevldu, had an error showing.
Output of systemctl status nidevldu.service:
● nidevldu.service - National Instruments Device Loader Service
Loaded: loaded (/usr/lib/systemd/system/nidevldu.service; enabled; preset: enabled)
Active: active (running) since Wed 2025-08-20 10:05:16 BST; 5min ago
Main PID: 7202 (nidevldu)
Tasks: 10 (limit: 38197)
Memory: 14.5M (peak: 14.8M)
CPU: 1.072s
CGroup: /system.slice/nidevldu.service
└─7202 /usr/sbin/nidevldu
Aug 20 10:05:16 mario systemd[1]: Starting nidevldu.service - National Instruments Device Loader Service...
Aug 20 10:05:16 mario systemd[1]: Started nidevldu.service - National Instruments Device Loader Service.
Aug 20 10:05:16 mario bash[7235]: modprobe: ERROR: could not insert 'niraptrk': Invalid argument
Aug 20 10:05:16 mario nidevldu[7202]: [nipalu] Warning: /home/rfmibuild/myagent/_work/_r/8/src/platform_services/legacy/nipald/nipal/source/lib/linux/linLoadKern.cpp:231 - libKernelDriverLoad: Loading drive>
Aug 20 10:05:16 mario nidevldu[7202]: [nidevldu] Fatal: Failed to load device 'Dev1' (PCIe-6343) during batch 0.
-50258
The specified software component failed to initialize. The operation could not be completed as specified.
Can anyone help please? Thank you!
10-29-2025 04:37 AM
Hello jonmullendomin,
From a similar case, the issue might be related to the NI Scan Engine driver of the LabVIEW RT which is probably not installed or corrupt. Install or repair it and it might help resolve your issue. In a second time, there is a low probability that you are still working on a previous version than 2024 Q1 of NI-DAQmx, if that is the case make sure to use an earlier version.
If you still have the issue and DAQ timing is not necessary, you can check the disable AI support to disable the HW-timed Single Point Sample Mode.
Please follow the next link to guide you through the different steps: Error -50258 Occurred When Using HWTSP Mode in VeriStand
Have a good day,
Hugo
10-29-2025 05:40 AM
Thanks Hugo! Sorry, I should've posted a follow up.
I got it working again later that day by updating the NI install. I believe I had upgraded the kernel and that's when it broke. Not the most satisfying fix but it worked 😅
Cheers!
Jon