Quick FAQ:
- Can I install “DAQmx Base” in a 64bit GNU/Linux OS?
Yes; despite National Instruments’ lack of interest.
- Can it be installed in Ubuntu / Debian?
As far as I reached, only NI-DAK (the kernel driver), but not “DAQmx Base”. So, in short: you can’t.
- Can I use it to compile my own C applications?
Yes, but only as 32bit programs. Even in a 64bit OS.
- Why can’t I build 64bit programs? Shouldn’t it be easy to provide 64bit libraries?
Don’t know; ask NI.
1. Install NI KAL:
1.1. Prepare to build the kernel sources:
- You need a few packages to compile NI’s kernel driver module. Open a console, and execute:
|
sudo zypper in kernel-devel kernel-source kernel-syms |
- Find out which kernel module you are running:
- Change the directory to the /usr/src/linux-[VERSION] directory, where [VERSION] corresponds to the currently running kernel version.
- Run the following, replacing [VERSION] as corresponds to your system:
|
sudo su zcat /boot/symvers-[VERSION].gz > Module.symvers make cloneconfig # Configure sources for kernel make modules_prepare # Prepare the headers for compilation |
1.2. Install NI KAL
NI KAL is National Instruments’ Kernel Abstraction Layer (KAL). It is required before installing NI DAQmx Base or any other NI stuff.
- Get the latest version, NIKAL 2.4 as of October 2013:
http://joule.ni.com/nidu/cds/view/p/id/4459/lang/en
- Extract the .iso file, for example, right-clicking on it and selecting “Extract”.
- Say you have now NIKAL contents in ~/Downloads/NIKAL24. Open a console and run:
|
cd ~/Downloads/NIKAL24 sudo ./INSTALL --nodeps |
Accept the license and confirm the target directory to finish the installation:

- Recompile the module kernel, with:
|
sudo /usr/local/natinst/nikal/bin/updateNIDrivers |
- Reboot, as you are prompted to.
- After rebooting, open a new console and check if the nikal module is correctly installed with:
|
sudo modprobe nikal sudo lsmod | grep nikal |
If you can see something like:
then it is correctly setup and loaded. Great! Now for the next steps.
2. Install DAQmx Base
Installing DAQmx Base in a 64bit OS is not officially supported by NI, so a few extra steps are required. Here is the recipe:
read more