Linux Users

cancel
Showing results for 
Search instead for 
Did you mean: 

USB and GPIB devices not recognized by pyvisa ni backend on Ubuntu 22.04.4

I have a fresh install of Ubuntu 22.04.4 on my laptop and I installed the ni-visa and ni-488.2 packages from the NILinux2024Q1DeviceDrivers download. The 'lsusb' command shows my devices but pyvisa with the ni backend will not show the devices. If i use the pyvisa-py backend the USB device will show up fine. So it seems I'm missing something with my ni configuration. 

0 Kudos
Message 1 of 2
(231 Views)

I was able to get the USB devices to be recognized after running the following commands followed by a reboot....

sudo su

echo 'SUBSYSTEM=="usb", MODE="0666", GROUP="usbusers"' >> /etc/udev/rules.d/99-com.rules

rmmod usbtmc

echo 'blacklist usbtmc' > /etc/modprobe.d/nousbtmc.conf

0 Kudos
Message 2 of 2
(167 Views)