Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

libnipalu.so failed to initialize

libnipalu.so failed to initialize

 

i am running trying to USE NI VISA with Python using pyVISA but seems like there are issues.

 

This is what i get


libnipalu.so failed to initialize
Perhaps you need to run updateNIDrivers
Abort

when i run updateNIDrivers it updates everything correclty.

 

Configuring for linux kernel version 2.6.29.4-167.fc11.i686.PAE.

********************************* NOTE *********************************
Using kernel headers found in /lib/modules/2.6.29.4-167.fc11.i686.PAE/source.
If this does not correspond to the location of the 2.6.29.4-167.fc11.i686.PAE headers,
then define KERNELHEADERS in your environment to point to the location
of the kernel headers, define KERNELTARGET as the version of the
kernel for which to compile, and then rerun ./configure.
********************************* NOTE *********************************

Kernel has reparent_to_init(): no
Number of arguments for do_munmap(): 3
pte_offset function: pte_offset_kernel()
Levels in page table: 4
Kernel has remap_pfn_range: yes
Kernel has kzalloc: yes
Kernel has chained SGL support: yes
USB altsetting name: cur_altsetting
Kernel has usb_get_intf(): yes
Kernel has intf_cache member in usb_host_config: yes
Kernel has ep[] members in usb_device: yes
Kernel exports usb_set_configuration(): no
Units of USB_CTRL_GET_TIMEOUT: msec
Kernel has owner member in usb_driver: no
Kernel has put_page_testzero(): yes
Kernel has mutex method: yes
Kernel has wait_for_completion_interruptible: yes
Kernel has config.h: no
Kernel has ioctl32.h: no
IRQ handlers have pt_regs: no
Kernel has work_struct and delayed_work: yes
Kernel supports fault method in vm_operations_struct: yes

Storing configuration in Makefile.in
If the values stored are incorrect they can be changed before running make.

Installing NI-KAL:
 NI-KAL successfully updated.
Updating client modules:
 nipalk.ko successfully updated.
 niorbk.ko successfully updated.
 nidimk.ko successfully updated.
 NiViPxiK.ko successfully updated.
 nipxirmk.ko successfully updated.
 NiViPciK.ko successfully updated.
Rebooting is required to ensure that National Instruments drivers
have been successfully updated.
Would you like to reboot now? [yes|no]

 

 

ALso i checked the "rpm -qa | grep ^ni"

 


nirpci-4.2.0-f0.i386
nivisa-5.1.2-f0.i386
niorbi-1.9.3-f0.i386
nivisaserver-5.1.0-f0.i386
nikali-2.2.0-f0.noarch
nidimi-1.10.0-f0.i386
nipxirmi-1.6.0-f0.i386
nispyi-2.8.0-f0.i386
nipalki-2.7.0-f0.i386
nivisak-5.1.2-f0.i386
nivisa-config-5.1.2-f0.i386
nipali-2.7.0-f0.i386
nivisa-devel-5.1.2-f0.i386
nimdnsresponder-1.6.0-f3.i386
niiotracei-3.0.1-f0.i386

 

 

Cam i get some help from anybody to resolve this?

 

Thanks
J

0 Kudos
Message 1 of 4
(3,303 Views)

Hi J,

 

We need to get some more information to better understand the issue you are encountering. When are you seeing the failed to initialize message? What is your application? What version of Linux are you using? Have you tried using NI-VISA in another language (i.e. LabVIEW, VI)?

 

Just to be clear though, pyVISA is not a National Instruments product and Python is not a supported language for NI-VISA. We will try to find a resolution to your issue, but there are some configurations that are not possible. Attached below is a link to the NI-VISA user manual which displays the supported programming languages in Table 1-1.

 

NI-VISA User Manual
http://www.ni.com/pdf/manuals/370423a.pdf

Josh B
Applications Engineer
National Instruments
0 Kudos
Message 2 of 4
(3,289 Views)

When are you seeing the failed to initialize message?

 

When i try to import visa in my script(python).I know python is not the chosed language for NI VISA. But i kind of need to use Python and i have seen it pyhton being used for VISA.

 

What is your application?

Want to control Agilent power supply through LXI.

 

What version of Linux are you using?


Linux ###################  2.6.29.4-167.fc11.i686.PAE #1 SMP Wed May 27 17:28:22 EDT 2009 i686 i686 i386 GNU/Linux

 

Have you tried using NI-VISA in another language (i.e. LabVIEW, VI)?


Not actually. I need to use Pyhton.

 

 

Is this information helpful?

 

 

J

 

 

 

 

 

0 Kudos
Message 3 of 4
(3,283 Views)

Hi J,

 

Is it possible to test your installation of NI-VISA by using a supported language or communicating with an instrument with a VISA Test Panel in Measurement & Automation Explorer?  I would just like to confirm that the installation is functioning properly if possible.

Josh B
Applications Engineer
National Instruments
0 Kudos
Message 4 of 4
(3,273 Views)