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 3
(147 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 3
(110 Views)
Solution
Accepted by topic author 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 3
(86 Views)