12-22-2007 05:21 PM
12-26-2007
10:53 AM
- last edited on
05-01-2024
02:03 PM
by
Content Cleaner
Hey Matthias,
You should be able to get NI-DAQmx 8.0 to install on openSUSE 10.3, but it will require some manual steps. Also keep in mind that we have not done any testing of NI-DAQmx on openSUSE 10.3 so you could run into some other issues. Anyway here is what you need to do (this is from from memory so hopefully I'm not forgetting anything):
1. NI-DAQmx 8.0 has some problems with long symbol names and the version of modpost in newer kernels, so we need to make a small modification to the kernel.
cd /usr/src/linux
# Put the source in a clean state
make mrproper
# Edit modpost.c in your favorite text editor
# search for "#define SZ 500" and replace with "#define SZ 1024"
vim scripts/mod/modpost.c
# Copy the config from your currently running kernel
# SUSE users
make cloneconfig
# or everyone else (assuming your kernel supports it)
bzcat /proc/config.gz > .config
# or if /proc/config.gz doesn't exist
cp /boot/config-$(uname -r) .config
# Prepare the kernel to build external modules
make modules_prepare
2. Download and install the latest version of NI-KAL (currently 1.6).
3. The NI-DAQmx 8.0 install script has an older script that needs to be updated for the INSTALL script to work
# Mount the NI-DAQmx 8.0 iso (or CD)
mkdir iso
mount -o loop NIDAQ800_SUSE.iso iso/
# Copy the contents to a temp directory
cp -R iso/ tmp
# Unpack the tar ball
cd tmp
tar xvzf *.tar.gz
# Copy the installerUtility.sh script that NI-KAL installed to the DAQmx installer
# First find installerUtility.sh in your unpacked NI-DAQmx installer
find tmp/ -name installerUtility.sh
# Replace it with the NI-KAL version
cp /usr/local/natinst/nikal/bin/installerUtility.sh <path to daq version>
# Repack the NI-DAQmx tar ball
# I'm just guessing on the names here they should match the original and what was unpacked
tar cvzf nidaqmx80.tar.gz rpms/ bin/
# Run the INSTALL script and everything should work
./INSTALL
Shawn Bohrer
National Instruments
01-03-2008 04:56 PM
01-03-2008 05:18 PM
01-03-2008 05:51 PM
01-04-2008
08:34 AM
- last edited on
05-01-2024
02:06 PM
by
Content Cleaner
@der_gaertner wrote:
Thanks, I found libOSMesa.so.4 and copied it to /usr/local/lib/linux.
However now I get:
> DAQmxTestPanels
Can't load LabVIEW runtime library /usr/local/lib/liblvrt.so.8.0
/usr/local/lib/linux/libOSMesa.so.4: undefined symbol: _glapi_add_entrypoint
In a second question: where do I find the VI's to use with LV 8.2?
/usr/local/natinst/nidaqmx/examples/ has only an ansi_c subdirectory.
01-04-2008
05:15 PM
- last edited on
05-01-2024
02:07 PM
by
Content Cleaner
DAQmxTestPanels works now too and I also got the VI's recompiled for LV 8.2.
Thanks for guiding me through this whole process.
However this whole procedure isn't exactly newbie friendly which leaves me with two questions:
Comparing NI-DAQmx Base 2.1 from Sept 06 with NI-DAQmx 8.0 from Dez. 05 it seems
that only the former is still getting some development, correct? If yes, shouldn't that be pointed out
at the general Linux DAQ page ? Also the driver choice page should list NI-DAQmx Base at
least as an alternative for all devices supported by both packages (I just assume here that
NI-DAQmx Base would have been a smoother ride for me).
Looking at the board structure one gets the impression that NI rather wants product specific than
operating system specific boards. But even with search engines it is sometimes tricky to find
the right answer for a given combination of Linux distribution, LV version, problem and skill level.
So how about some wiki for us fringe linux users? This would probably also save you some time 🙂 .
Matthias
01-07-2008
09:32 AM
- last edited on
05-01-2024
02:09 PM
by
Content Cleaner
NI-DAQmx Base is a more nimble driver, and thus it is easier for us to update and provide frequent releases. This is the same reason NI-DAQmx Base is first to support new platforms like Linux and Mac OS X. However this advantage is also its disadvantage since NI-DAQmx Base only supports a subset of the functionality of NI-DAQmx. For example if you need to use SCXI or SCC signal conditioning hardware you will need to use NI-DAQmx.
@der_gaertner wrote:
Comparing NI-DAQmx Base 2.1 from Sept 06 with NI-DAQmx 8.0 from Dez. 05 it seems
that only the former is still getting some development, correct? If yes, shouldn't that be pointed out
at the general Linux DAQ page? Also the driver choice page should list NI-DAQmx Base at
least as an alternative for all devices supported by both packages (I just assume here that
NI-DAQmx Base would have been a smoother ride for me).
This suggestion an interesting suggestion. Perhaps we will see a NI wiki at some point, though I suspect something like that would take some time. In a way the NI KnowledgeBase is much like a wiki that only NI employees can update, and you'll likely find the answers to many of your questions there.
Looking at the board structure one gets the impression that NI rather wants product specific than
operating system specific boards. But even with search engines it is sometimes tricky to find
the right answer for a given combination of Linux distribution, LV version, problem and skill level.
So how about some wiki for us fringe linux users? This would probably also save you some time 🙂 .
01-07-2008 03:31 PM
12-03-2008
05:41 PM
- last edited on
05-01-2024
02:10 PM
by
Content Cleaner
der_gaertner wrote:
So how about some wiki for us fringe linux users? This would probably also save you some time 🙂 .
We just created a new Linux Users community. It has a wiki like interface so you may be interested in joining.
Shawn Bohrer
National Instruments