Linux Users

cancel
Showing results for 
Search instead for 
Did you mean: 

Trying to get USB-6009 to work on Ubuntu 22.04.5 LTS, but getting DAQmx Error: Device identifier is invalid

Hello dear people,

 

I'm trying to get started with the USB-6009 device on Linux Ubuntu 22.04.5 LTS. I installed the drivers and tried to run the example "ContAcq-IntClk.c".

It compiles properly, but when i try to run it i get the following error:

 

$./ContAcq-IntClk  
DAQmx Error: Device identifier is invalid.
Device Specified: Dev1
Task Name: _unnamedTask<0>
Status Code: -200220
End of program, press Enter key to quit

 

I tried modifying "Dev1" in the call to "DAQmxCreateAIVoltageChan" into "Bus 001 Device 008" but i get the same error.

lsusb shows the following output:

Bus 001 Device 008: ID 3923:717b National Instruments Corp. USB-6009

 

Any ideas how to fix this?

Thank you very much in advance and kind regards,

Jakob

0 Kudos
Message 1 of 5
(291 Views)

According to NI Hardware and Software Operating System Compatibility, USB-6009 is unsupported in Ubuntu.

As a matter of fact, almost all USB DAQmx devices except some USB cDAQ are not supported in Linux Desktop.

ZYOng_0-1733186436424.png

 

-------------------------------------------------------
Applications Engineer | TME Systems
https://tmesystems.net/
0 Kudos
Message 2 of 5
(277 Views)

I am facing the same error with NI USB 6501 and NI Linux Device Drivers 2025 Q1 on Ubuntu 22.04.02. Is there any progress on that or a workaround?

0 Kudos
Message 3 of 5
(115 Views)

The roadmap stats that there should be support now:

https://www.ni.com/de/shop/software-portfolio/platform-roadmap.html

 

But it is not working for me using Ubuntu 22.04 (Kernel 6.8) and USB-6421. Is this false advertisment? Or what is the problem?

 

In times of KI programming, there should not be any reason why a driver can not be translated from windows to ubuntu. 😞

0 Kudos
Message 4 of 5
(32 Views)

@TorbenC wrote:

The roadmap stats that there should be support now:

https://www.ni.com/de/shop/software-portfolio/platform-roadmap.html

 

But it is not working for me using Ubuntu 22.04 (Kernel 6.8) and USB-6421. Is this false advertisment? Or what is the problem?

 

In times of KI programming, there should not be any reason why a driver can not be translated from windows to ubuntu. 😞


It is not a false statement. I don't know what is the reason behind it but all NI USB devices (except for USB cDAQ) are excluded in the NI Linux device drivers since the release in 2018. I don't think they are going to support USB devices in the future as well. You can try reaching out to them and submit a feature request but I don't think they are going to make it happen unless you have a big business potential.

-------------------------------------------------------
Applications Engineer | TME Systems
https://tmesystems.net/
0 Kudos
Message 5 of 5
(25 Views)