07-20-2023 11:22 AM
Trying to use USB-6003 on ubuntu 22.04.2
1. install ni-daqmx using apt - reboot the OS
2. install midaqmx library for python using pip
3. make sure device is connected with dmesg command
sudo dmesg:
[ 1222.042703] usb 1-1.3.4: new full-speed USB device number 15 using ehci-pci
[ 1222.156832] usb 1-1.3.4: New USB device found, idVendor=3923, idProduct=76c6, bcdDevice= 1.00
[ 1222.156865] usb 1-1.3.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1222.156883] usb 1-1.3.4: Product: USB-6003
[ 1222.156896] usb 1-1.3.4: Manufacturer: National Instruments
[ 1222.156910] usb 1-1.3.4: SerialNumber: XXXXXXXX
sudo apt -s install ni-daqmx
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
ni-daqmx is already the newest version (23.5.0.49389-0+f237).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
yet the device is not found
Python 3.10.6 (main, May 29 2023, 11:10:38) [GCC 11.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import nidaqmx
>>> system = nidaqmx.system.System.local()
>>> connected_devices = system.devices
>>> print(connected_devices.device_names)
[]
>>>
Solved! Go to Solution.
07-20-2023 05:55 PM
USB-6003 is not supported on Linux Desktop. From NI Hardware and Software Operating System Compatibility:
07-21-2023 03:43 AM - edited 07-21-2023 03:45 AM
thank you for your reply,
I was aware of the page you mentioned.
this is what confused me
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019NhFSAU
07-21-2023 07:35 AM - edited 07-21-2023 07:37 AM
@KfearNI wrote:
thank you for your reply,
I was aware of the page you mentioned.
this is what confused me
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019NhFSAU
And the followed sentence states that
To my knowledge, the only supported USB devices are USB cDAQ-917x.
07-23-2023 03:01 AM
https://www.ni.com/en-il/shop/model/cdaq-9171.html is a chassis only.
making the solution much more expensive.
I'm new to NI devices. never thinking devices as such does not support Linux.
thanks again.