VISA Calls Crash LabVIEW on RHEL and CentOS

Updated May 3, 2018

Reported In

Software

  • LabVIEW Full
  • LabVIEW Professional
  • LabVIEW Base

Driver

  • NI-VISA

Programming Language

  • LabVIEW G

Other

  • RHEL 7
  • CentOS 7

Issue Details

LabVIEW development environment crashes every time the program uses an NI-VISA function or when an NI-VISA function is placed on the Block Diagram. LabVIEW built executables also crash when executing NI-VISA functions.

Solution

  1. LabVIEW crashes when launched from the terminal and the following will be printed to the terminal.
libnipalu.so failed to initialize
Perhaps you need to run updateNIDrivers
 
  1. ​If this is the case, first install NI-VISA 17.5 or newer
  2. If LabVIEW still crashes after this, run updateNIDrivers from a terminal and you shoud see the following.
ERROR: Error locating kernel sources for the requested kernel version
 
  1. If you do see the above, install the kernel-devel.x86_64 package for your specific kernel version.
  2. Run updateNIDrivers

WAS THIS ARTICLE HELPFUL?

Not Helpful