07-12-2018 09:38 AM
LabVIEW crashes when I try to create a serial reference constant or input on the visa init serial block.
I am running Redhat 7.5 Linux. and LabVIEW 2018 64bit.
I found this post when searching the forums that may contain a solution:
However, I do not know where to put the code described in the post since I am running Redhat 7.5 and not OpenSUSE.
Could someone with Linux experience point me in the correct direction?
Thank you.
Solved! Go to Solution.
07-12-2018
10:34 AM
- last edited on
12-28-2024
04:23 PM
by
Content Cleaner
I dealt with a similar sounding problem earlier this year, let me know if the steps below help.
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019MmJSAU
07-12-2018 11:56 AM - edited 07-12-2018 12:23 PM
I'm running NI-VISA 17.0. For some reason, NI-VISA 17.5 does not have Redhat 7.x as a supported OS, so I did not update to that or the 18.0 version.
I tried to run updateNIDrivers from the terminal and I receive the following error message:
[hughj@delisserlinuxrh7 bin]$ sudo ./updateNIDrivers
nikal: ERROR: Error locating kernel sources for the requested kernel version (3.10.0-693.el7.x86_64).
usage: ./updateNIDrivers [--no-prompt] [kernelVersion]
kernelVersion
Specify the version of a kernel installed on the system.
A /lib/modules/<kernelVersion> directory should exist for each
kernel installed. The currently running kernel is the default
for ./updateNIDrivers if no argument is provided.
Run 'uname -r' at the command prompt to find the version of the
currently running kernel.
--no-prompt
runs in no prompt mode. Useful if calling this script from
another script. Messages are still printed to the screen and
the return value can be checked for status.
--fast
use fast shortcuts to determine whether modules need to be rebuilt.
Is there something wrong with my kernel?
BTW running from the terminal, I do get the same error in the help article you posted:
./labview64
libnipalu.so failed to initialize
Perhaps you need to run updateNIDrivers
Aborted (core dumped)
I also installed the most recent kernel-devel by running the following:
[hughj@delisserlinuxrh7 ~]$ sudo yum install kernel-devel
Loaded plugins: langpacks, product-id, rhnplugin, search-disabled-repos,
: subscription-manager
This system is receiving updates from RHN Classic or Red Hat Satellite.
Package kernel-devel-3.10.0-862.6.3.el7.x86_64 already installed and latest version
Nothing to do
[hughj@delisserlinuxrh7 ~]$ cd /lib/modules
[hughj@delisserlinuxrh7 modules]$ ls
3.10.0-693.el7.x86_64 3.10.0-862.6.3.el7.x86_64
3.10.0-862.3.3.el7.x86_64
What should I try next or did I miss a step?
Thanks.
07-12-2018 12:57 PM
The kernel version that you have installed is a more recent version than what updateNIDrivers was looking for specifically. Have you tried specifying the specific kernel version when running updateNIDrivers?
07-13-2018 08:14 AM
Thanks!
That worked!
01-31-2019 10:28 AM - last edited on 01-31-2019 10:47 AM by Kristi_Martinez
I tried to solve this problem installing the drivers update but I don´t solve the issue.
We installed NI-VISA 15.0 on CENTOS7 with labview 201732 bit. When running our application, the following error message appeared and the program aborted.
libnipalu.so failed to initialize
Perhaps you need to run updateNIDrivers
Do VISA 16, 17 or drivers 2018 support centos7 32 bit?
Could be possible to use LabVIEW 2017 with visa 15 without problems?
thanks in advance
02-01-2019
09:50 AM
- last edited on
12-28-2024
04:24 PM
by
Content Cleaner
Hey Charli22,
This Page shows that NI VISA 15.0, 15.5 17.0 and 18.2 are compatible with CentOS7.
However, HERE you can see that LabVIEW 2017 and NI VISA 15 are not comparable.
Additionally, This is a solved thread. To get better visibility try creating a new post.
All the Best,
Noah B.
Applications Engineer
National Instruments