Hello guys,
I’m having some problems with LabVIEW 2017.
I installed the software and it worked fine. I then installed VISA and VIPM in order to develop some VI that was able to communicate with Arduino (i installed labview interface for Arduino) and here the problems came out.
I won’t go into details, basically if I’ve to do something related to VISA, then LabVIEW will crash with this output:
linux-inas:~ # labview64
libnipalu.so failed to initialize
Perhaps you need to run updateNIDrivers
Aborted (core dumped)
So i checked out and found out that there are some problems with VISA, probably I didn’t pay attention to the output errors during the installation: I guess the installation didn’t end well.
Here what happens if I try to install VISA (version 17 - http://www.ni.com/download/ni-visa-17.0/6700/en/ ):
linux-inas:/home/phederigo/Downloads/New Folder/NI-VISA-17.0.0 # ./INSTALL
*****************************************************************************
NI-VISA for Linux
version 17.0.0f1 for Linux
*****************************************************************************
National Instruments products support the following Linux distributions:
openSUSE
Red Hat Enterprise Linux Desktop + Workstation
Scientific Linux
Refer to README.txt for the latest information at the time of release.
Refer to www.ni.com/linux for the most recent information about Linux
support at National Instruments.
Continue? [Yn] y
Checking required install tools...
Checking installer tool versions...
rpm 4.11.2 can be used with a default installation path
tar 1.27.1
Checking dependencies...
glibc 2.22
Unpacking install files to /tmp/nivisa-17.0.0f1.install...
<11>Apr 27 15:01:03 phederigo: ERROR: Kernel source in /usr/src/linux does not appear to be
<11>Apr 27 15:01:03 phederigo: ERROR: for the 4.4.76-1-default kernel.
<11>Apr 27 15:01:03 phederigo: ERROR: Ensure that kernel source for the 4.4.76-1-default kernel is installed
<11>Apr 27 15:01:03 phederigo: ERROR: and configured. Refer to the README file for the product you are
<11>Apr 27 15:01:03 phederigo: ERROR: installing for information about configuring your kernel source.
Installer is aborted.
Seems there are some problems related to the Kernel, but I’m not enough expert to be able to solve it.
Here some info for you:
linux-inas:/home/phederigo/Downloads/New Folder/NI-VISA-17.0.0 # uname -r
4.4.76-1-default
linux-inas:/usr/src # ls
linux linux-4.4.126-48 linux-4.4.126-48-obj linux-obj ni-pxipf packages
linux-inas:/usr/src # zypper install kernel-headers=4.4.76-1
Loading repository data...
Reading installed packages...
'kernel-headers=4.4.76-1' not found in package names. Trying capabilities.
'linux-glibc-devel' providing 'kernel-headers = 4.4.76-1' is already installed.
Resolving package dependencies...
Nothing to do.
phederigo@linux-inas:~> sudo apt-get install kernel-source
[sudo] password for root:
Loading repository data...
Reading installed packages...
'kernel-source' is already installed.
No update candidate for 'kernel-source-4.4.126-48.1.noarch'. The highest available version is already installed.
Resolving package dependencies...
Nothing to do.
On the README.txt I found:
Q2: During installation I get a message similar to the following one:
"Kernel source does not appear to be configured for the running kernel.
Configuration of kernel source is required to continue installation."
I do have kernel sources installed; is there anything else that needs to
be done?
A2: This problem has been seen on SUSE LINUX Professional 9.1 Running the 2.6.5
kernel or newer versions of SUSE LINUX Professional. However, it is possible
that other distributions will require similar steps to resolve this problem.
On SUSE LINUX Professional complete the following steps:
1. Ensure you have installed kernel-source and kernel-syms packages
corresponding to the version of the currently running kernel. The
version of the currently running kernel can be determined by
issuing the command `uname -r`.
2. Change the directory to the /usr/src/linux-<version> directory, where
<version> corresponds to the currently running kernel version.
3. Run "zcat /boot/symvers-<version>.gz > Module.symvers" as root to prepare
modversion support.
4. Run "make cloneconfig" as root to configure the sources for the
currently running kernel.
5. Run "make modules_prepare" as root to prepare the headers for
compilation.
6. THIS STEP IS STRICTLY OPTIONAL. Completing this step removes the
warning:
WARNING: Symbol version dump /usr/src/linux/Module.symvers is missing,
modules will have CONFIG_MODVERSIONS disabled.
Run "make modules" as root to compile all modules and generate
Module.symvers; this step may take 30 minutes or more to complete.
7. Run the INSTALL script for the NI-VISA software for Linux from this
directory.
Despite I did that, the problem is still there…