From 11:00 PM CDT Friday, May 10 – 02:30 PM CDT Saturday, May 11 (04:00 AM UTC – 07:30 PM UTC), ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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
(265 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
(201 Views)