07-08-2015 01:30 PM
i'm referring to the NI VISA utilities located at:
/usr/local/vxipnp/linux/NIvisa/visaconf
and
/usr/local/vxipnp/linux/NIvisa/NIvisaic
These utilities do not see the attached keysight usb device
07-08-2015 06:30 PM
Hi David,
I found a couple other links that might be worth looking through.
What Is USBTMC and How Can I Communicate with My USB Instrument?
07-09-2015 03:46 PM
According to the later NI VISA's, per documentation,NI visa supports usbtmc instruments and should be visable in the visa configuration utility.
07-10-2015 10:07 AM - edited 07-10-2015 10:09 AM
Usually, there are two likely causes for issues like this.
1. The usbtmc driver is claiming the device. To diagnose it, see if you can do "rmmod usbtmc" as root and run the utility. If the device then shows up, the usbtmc module was claiming it. If you unplug the replug the device again, the usbtmc module will claim it again, so if you want to use NI-VISA to control this device, the solution suggested above to blacklist the usbtmc module might work for you.
2. The device is only accessible to root. To diagnose this problem, see if your device shows up when running the utility as root. This would mean that the udev rules that are installed by NI-VISA installer for the usbtmc device is not working. If you can see the device as root, then you can run the "/usr/local/vxipnp/linux/NIvisa/USB/AddUsbRawPermissions.sh" script. First use lsusb to get the vendor and product IDs of the device and then run the script and provide it the IDs in the format shown by the instructions. After doing this, if you unplug and replug the device, it should be visible as non-root.
Please note that you might have to do both of the above (rmmod usbtmc and run the utility as root) if both of these issues are affecting your device. Let me know if neither of these suggestions work and I will look into it further.
EDIT: corrected the path to the script.
07-13-2015 01:09 PM
I have found that "rmmod usb488" allows the agilent device(E5071C) to be accesible.
07-14-2015 05:32 PM
Hi David,
So does this mean that you're all set now?
07-14-2015 05:58 PM
Hi Jeff,
Yup, communication is working well between the VNA and the workstation. Perhaps add a note in the NI VISA 5.4.1 readme's section, "USB Issues on Linux", that one should also blacklist the usb488 module. My theory is that since it is a subclass of the USBTMC module, it was intercepting the instrument.
Thanks,
David
07-15-2015 05:18 PM
Hi David,
I'm glad you resolved the issue. I've passed your feedback on to the developers and they'll be looking into it.