From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

USB-6001 and linux

Solved!
Go to solution

Hi All,

I have a NI USB-6001 DAQ device that I am trying to get working under linux. My distro is opensuse 13.1, and I am trying to use ni-daqmx base 14 to talk to the device. After much messing about I finally managed to get the drivers installed, however I'm not having any luck communicating with the device. The output from dmesg indicates that the device is plugged in and recognised, however the output from lsdaq does not list the device at all as you can see below.
The user guide for the device suggests that it is supported by NI-DAQmx 9.9 and later admittedly the doc is written from a mswindows-centric viewpoint, so I
hope that applies to linux also.

 

Has anyone managed to get this device to work under linux? Alternatively, can anyone think why it isn't detected?

 

Thanks for any assistance

 


> dmesg
...
[ 1.605963] usb 3-14: new full-speed USB device number 4 using xhci_hcd
[ 1.617849] usb 3-14: New USB device found, idVendor=3923, idProduct=76bf
[ 1.617851] usb 3-14: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1.617852] usb 3-14: Product: USB-6001
[ 1.617853] usb 3-14: Manufacturer: National Instruments
...

 

> lsdaq
--------------------------------
Detecting National Instruments DAQ Devices
Found the following DAQ Devices:
--------------------------------

 

 

> uname -r
3.11.10-25-desktop

 

 

> lsmod | grep ^ni
nimxdfk 663726 1
nipxirmk 322143 1
nidimk 441753 2 nipxirmk
nimdbgk 524901 3 nimxdfk,nipxirmk
niorbk 141747 4 nimxdfk,nipxirmk,nidimk,nimdbgk
nipalk 1193476 8 NiViPciK,nimxdfk,nipxirmk,nidimk,nimdbgk,niorbk
nikal 113161 6 nimxdfk,nipxirmk,nidimk,nimdbgk,niorbk,nipalk

0 Kudos
Message 1 of 5
(6,041 Views)
Solution
Accepted by topic author bingofrog
It's not listed in the readme as being supported.
0 Kudos
Message 2 of 5
(6,035 Views)

Quite right - it isn't listed. And I suspected that it might be the case that the USB-6001 was a windows only device. Hopefully a future release of nidaqmx for linux might include it.

Anyway thanks for confirming my doubts

 

0 Kudos
Message 3 of 5
(6,030 Views)

Is the NI USB communication protocol documented anywhere such that it would be possible to communicate with these DAQs directly?

0 Kudos
Message 4 of 5
(5,958 Views)

I'd guess they - as will all such thing - they keep it as secret as nuclear launch keys.

 

Linux Embedded / Kernel Hacker / BSP / Driver development / Systems engineering
0 Kudos
Message 5 of 5
(4,142 Views)