Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

libnipalu.so failed to initialize

I own a NI-6259 board.  I have used it with a WindowsXP and it worked fine.
Now, I need to change to a RedHat 4.6  Linux system. My needs are simple:  I don't want to use LabView, all I want
to do is to run simple ANSI C functions such as    acquireNScans.c
I downloaded   nidaqmxbase-3.1.0.iso   and installed it.

I compiled and linked the function successfully but I get:
   " libnipalu.so  failed to initialize
     perhaps you need to run updateNIDrivers"
I did this but to no avail.  Now what?

Here are some system particulars:
  response to    uname -a:
   Linux mucool.pl1.hep.uiuc.edu
   2.6.7-67.015.EL
   #1 Wed May 7 03:56:00 CDT 2008
   i686  i686  i386     GNU/Linux

various versions:
  NI-KAL version = 1.7.0f0
  NI-PAL version = libnipalu.so.2.2.0
  libnidaqmxbase.so.3.1.0

Any help would be appreciated
Thanks
Lee Holloway
leh@uiuc.edu
217-244-0541   or 217-344-3796




0 Kudos
Message 1 of 13
(13,330 Views)


@leh wrote:
I compiled and linked the function successfully but I get:
   " libnipalu.so  failed to initialize
     perhaps you need to run updateNIDrivers"
I did this but to no avail.  Now what?

You'll usually receive this error if the kernel modules are not loaded.  You mentioned that you ran updateNIDriver, but did it succeed?  Were there any errors or warnings?  The output of of niSystemReport could be useful as well.  As root try something like:

niSystemReport > system.log
gzip system.log

And attach the result

Shawn Bohrer
National Instruments
Use NI products on Linux? Come join the NI Linux Users Community
0 Kudos
Message 2 of 13
(13,306 Views)
Hello Shawn,
Thanks for your reply.   I attach the output of niSystemReport as well as the output log
from
updateNIDriver.   I hope this helps.
Regards,
Lee
0 Kudos
Message 3 of 13
(13,255 Views)
Hello Shawn,
Thanks for your reply.   I attach the output of niSystemReport as well as the output log
from
updateNIDriver.   I hope this helps.
Regards,
Lee
(oops, forgot update log)
0 Kudos
Message 4 of 13
(13,254 Views)
It appears that some things were not installed correctly.  I'm not sure how this could happen, but we should be able to figure it out.  Can you provide the output of:

rpm -qa | grep ^ni

This should let us see if some of the rpms simply were not installed.  Additionally can you rerun the INSTALL script for NI-DAQmx Base and watch for any warnings or errors?

Shawn Bohrer
National Instruments
Use NI products on Linux? Come join the NI Linux Users Community
0 Kudos
Message 5 of 13
(13,246 Views)
Here 'tis

rpm -qa|grep ^ni
nivisa-4.3.0-f0
nidaqmxbase-cinterface-3.1.0-f2
nikali-1.7.0-f0
nidaqmxbase-board-support-3.1.0-f2
nipalki-2.2.0-f0
nicvirte-8.0-7
nidaqmxbase-common-3.1.0-f2
nipali-2.2.0-f0
nivisa-config-4.3.0-f0
nidaqmxbase-usb-support-3.1.0-f2
nivisaserver-4.3.0-f0

Lee
0 Kudos
Message 6 of 13
(13,243 Views)
Ok, well it appears that at least one of the post install scripts failed to run.  I'm still not sure why.  Did you try rerunning the INSTALL script to check for errors/warnings?  You may need to run the ./UNINSTALL script first since it will probably claim everything is already installed.

You may be able to get things working by running:

source /usr/local/natinst/nipal/bin/nipalkiInstallerUtility.sh
nipalkiPostInstall

But there may be other things that didn't run, and I'd kind if like to figure out why they didn't run, so ./UNINSTALL ./INSTALL to check for errors/warnings would be nice.

Shawn Bohrer
National Instruments

Use NI products on Linux? Come join the NI Linux Users Community
0 Kudos
Message 7 of 13
(13,240 Views)
Dear Shawn,
Hooray, success!
As you suggested I did an .UNINSTLL/.INSTALL  and all of a sudden everything worked. 
I want to thank you for your patient help, without it I would still be stuck in the water.
Thanks also to NI for the support facility.
Lee


0 Kudos
Message 8 of 13
(13,225 Views)

Hi

I am also facing same problem.

My System Configuration is - 

OS : Red hat Enterprise Linux Workstation 6.4

with  NI-6014 card. 

 

I have installed nidaqmxbase-3.6.0 and nidaqmx-8.0.2f0 driver.

I performed all steps explained in above discussion, still error comes

'libnipalu.so failed to initialize Perhaps you meed to run updateNIDrivers'.

 

and also I checked in services nipal and nipxirmu, it shows both services are dead.

Please tell me how can i solve the problem.

 

 

0 Kudos
Message 9 of 13
(9,367 Views)

NileshD,

 

You're posting on a thread that is 6 years old.

 

I did a search on the error and see a lot of similar posts.  What have you tried/not tried so far?  Is your system 64-bit?

 

Example search result post on similar issues

https://decibel.ni.com/content/thread/8785

 

Wayne T. | Application Engineer | National Instruments
0 Kudos
Message 10 of 13
(9,344 Views)