Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5565

NI-VISA 17 does not recognice GPIB-USB-HS adapter on CentOS 7 Linux

$
0
0

Hello everyone

I have been struggling for a couple of days now trying to solve an issue but could not resolve it. It would be great to get some assistance.

 

I am trying to use the Instrument Control Toolbox of Matlab 2018 on CentOS7 Linux together with NI-VISA 17.0 and the NI GPIB-USB-HS adapter to communicate with some power supplies.

However, as mentioned before it does not work so far.
 

This is what we tried so far.

We run Matlab 2018 on our CentOS 7 Linux system successfully.

I connected several power supplies with the computer via a national instruments GPIB-USB-HS converter.

(this on http://www.ni.com/de-de/support/model.gpib-usb-hs.html)

 

Then I installed the Linux-GPIB 4.1.0 driver https://sourceforge.net/projects/linux-gpib/?source=navbar and configured the adapter.

After that I have been able to successfully communicate and control the power supplies using “ibtest” in the console. Also the console command lsusb yields the proper usb information: Bus 001 Device 002: ID 3923:709b National Instruments Corp. GPIB-USB-HS

 

However, next I we installed NI-Visa 17.0 and followed the instructions of the readme:

So I installed all necessary 32 bit software libraries which have been missing

Then I used this trick https://forums.ni.com/t5/Linux-Users/kernel-3-10-0-693-2-2-el7-x86-64-update-centos-7-4/gpm-p/3693281

to run the script “updateNIDrivers” for connecting the driver with my kernel. Then I gave the users write accress to the USB subdirectories in “/dev/bus/usb. Hereby I used the AddUsbRawPermissions.sh script as suggested in the readme.

Finally, I blacklisted other USB drivers as suggested here: https://forums.ni.com/t5/Instrument-Control-GPIB-Serial/Driver-wizard-does-not-allow-USB-to-be-selected/td-p/2918872

 

However, so far NIvisac does not recognize any USB devices and the driver wizard does not even allow to select USB. Using the Matlab proper commands to search for VISA or GPIB devices yields nothing.

 

It would be really helpful if somebody has any suggestions where to look next as I am currently a bit at a loss.

 

Thanks all in advance

 


Viewing all articles
Browse latest Browse all 5565

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>