Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

found bug in NI-KAL 1.3

Hello.  I tried the NI-KAL 1.3 kit.  There is a bug in the script bin/installerUtility.sh .
The bug is the use of sed to get the gcc version out of /proc/version  .
Because the excluded subset [^ ] doesn't have a left paran in it, as in [^) ]
the kernel version comes out 3.3.6)  instead of 3.3.6 .
So the compare to the gcc version fails and the script exits.
So I fixed this but I still get an abort on a little helloworld program
that just links to libgpibapi.so .
The abort is around opening /etc/localtime , oh I see it was trying to open
/dev/nipalk and there is no such device.  I will try to find out what /dev/nipalk
was supposed to be and create the node if I can.

The kernel is 2.6.16.18

0 Kudos
Message 1 of 2
(2,794 Views)
John,

Thanks for pointing out that bug, I'll make sure it is fixed in the next version.  All of our supported distributions slap some extra strings after the version for example: (gcc version 4.1.0 (SUSE Linux))

Once you have installed NI-KAL 1.3 successfully, then you will probably need to rerun the NI-488.2 installer.  You may want to run updateNIDrivers as well.  Just to be safe you may want to reboot your machine.

If you have done the steps above, and there is no /dev/nipalk, then you may want to take a look at /etc/init.d/nipal to start your debugging.  More then likely some modules are failing to load.

Shawn B.
National Instruments
Use NI products on Linux? Come join the NI Linux Users Community
0 Kudos
Message 2 of 2
(2,777 Views)