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)
[]>>>