LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to install NI-VISA driver in ubuntu distribution (20.04)

Solved!
Go to solution

Hi,

 

I need to install ni-visa driver in my ubuntu distribution in order to read/write message through serial port. 

please help .

0 Kudos
Message 1 of 5
(7,976 Views)

Hi,

you can refer to the document

Download and Install NI Driver Software on Linux Desktop

which has also a section dedicated to Ubuntu.

You can find useful information also in

Communicate with Third-Party Instrument in Linux

and in a couple of forum threads:

Hope this helps!

Regards,

Alessia

0 Kudos
Message 2 of 5
(7,939 Views)
Solution
Accepted by GiuLomb73

Ciao Alessia,

thanks for the link, but nothing it was helpful.... but at the end i have found the right solution alone.
Below what to do to install NI-VISA DRIVER in UBUNTU VERSION (I ask formally to NI to introduce a formal dristribution for UBUNTU):

 

HOW TO INSTALL NI-VISA in UBUNTU 16.04 LTS (I THINK IT COULD BE OK FOR ALSO 18.04 and 20.04)

MY PROCEDURE TO SOLVE IT:

then do in one of the two repository :

  1. a) "wget -i http://download.ni.com/ni-linux-desktop/2019.07/rpm/ni/el8/"
    or
  2. b) “wget -i http://download.ni.com/ni-linux-desktop/2020.07/rpm/ni/el8/”

That should download all the rpms.

Delete any of the i386 rpms ( I think there were 3). Or move them wherever you want.

now run "sudo alien --scripts *.rpm" This will take awhile.

When finished run "dpkg -i *.deb" (Again, will take a while, i just installed everything, but obviously you can choose)

When finished run "sudo dkms autoinstall"

Then make a symbolic link: "ln -s /usr/local/natinst/niPythonInterface/lib64/libniPythonInterface.so.2.0.0 libniPythonInterface.so"

and reboot the system.

At the start, open terminal and digit. "sudo /etc/init.d/nipal start".

At the end you can run : "visaconf"

 

Good Luck …. all take me one full week to unsterstand all, here you have all.

0 Kudos
Message 3 of 5
(7,915 Views)

Thanks for your solution,

 

I tried to install Nidaqmx base but, to install NIdaqmx base, we have to install firsly NI Visa but there are errors ( Package does not verify : no digest), I can't solve it for the moment.

So I will try your solution. Just a question  : 

Do you have also install Ni daqmx base on ubuntu or only NIVisa ?

 

Have a good day

 

 

0 Kudos
Message 4 of 5
(7,702 Views)

Hi all, maybe this is a little OT... but are there any chanches to install LV device drivers (ni-visa, ni daqmx, etc.) on a 22.04LTS?

I know that that 20.04LTS is the last official supported distro, but l've successfully installed LV2021Q3pro on the 22 and, apart from having no control on visa related hardware (usb, com port...), everything works fine.

 

Thanks in advance

Giampietro

0 Kudos
Message 5 of 5
(5,015 Views)