Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Install NI-VISA on Ubuntu 18.04

Solved!
Go to solution

Hi,

 

I am using Ubuntu 18.04 and I need to install NI-VISA.

But according to

 

https://www.ni.com/pdf/manuals/378353a.html#install

 

NI-VISA is not available for .deb-based linux distributions.

I 'd like to know if there is any way to install NI-VISA on Ubuntu 18.04?

 

-----------------------------------------------

[Original message]

I followed the steps as described in


https://www.ni.com/en-us/support/downloads/drivers/download.ni-linux-device-drivers.html

 

and

 

http://www.ni.com/product-documentation/54754/en/

 

I downloaded NI Linux Device Drivers version 2020.

After installing the repository addon and refreshing the package list, the following cmd

 

sudo apt install ni-visa

 

raises error:

E: Unable to locate package ni-visa

 

Indeed, runing

 

apt-cache search ni- | grep visa

 

gives only

 

python-pyvisa-py - Backend that implements a large part of the VISA in pure Python
python3-pyvisa-py - Backend that implements a large part of the VISA in pure Python 3

 

However, according to

 

https://www.ni.com/pdf/manuals/378353a.html

 

the driver's name is ni-visa. I'm not sure what is wrong?

 

 

 

 

 

 

0 Kudos
Message 1 of 3
(344 Views)
Solution
Accepted by topic author yy82

Problem solved.

 

Switched to use pyvisa-py as a VISA backend, and use pyvisa as a frontend.

 

Also need to add a rule for accessing USB-linked devices on ubuntu, see

 

https://lucask07.github.io/instrbuilder/build/html/linux_visa.html

0 Kudos
Message 2 of 3
(304 Views)

Hello,

 

I have a question about how do you add the linux-gpib on the ubuntu 18.04 os? Thanks in advance.

 

Bests

0 Kudos
Message 3 of 3
(110 Views)