I'm trying to interface with a USB Test and Measurement device. In the end, I want to be able to interface with the device from my own C++ program in a Linux environment. However, I'm unable to list the USB device under Linux through the NI-VISA API, whereas on Windows it works perfectly fine. On Linux, the device does not show up in the provided control software such as the Visa Configuration and Visa Interactive Control software.
I tested with multiple USBTMC compliant devices, but no luck. However, when connecting a device, they are al listed in the /dev/ directory as 'usbtmc1'. So the device is properly recognized by the linux kernel, but not by the VISA software. In comparison, on Windows, the USBTMC devices are perfectly recognized in the Interactive Control Software, and I've been able to communicate with the devices just fine.
What I've tried so far:
- Clean install of Ubuntu 20.04 LTS Kernel 5.15 on two separate devices (one through dual boot, another with only Ubuntu)
- Reinstall of the NI-VISA drivers.
- Changed to root mode
- Changed USB device permissions permanently
Also, I started out with Ubuntu 22.04 LTS, but I've been unable to get the software working. When I saw, it was not fully supported, I switched to Ubuntu 20.04.
Thanks in advance!
Ulrik Van Hecke