05-12-2008 02:15 PM
I have just succeeded in getting DAQmx installed and working under RHEL 5 and I wanted to post the instructions here in the hope that I might save someone else a great deal of time.
First, I want to thank everyone who has contributed to the NI forums regarding installing the DAQmx software under Linux. Most of the information contained in this How-to came straight from these two posts: Fedora Core 6 How-to and Fedora Core 5 - kernel 2.6.20 -NIKAL 1.5 howto
A special thanks goes out to ninevoltz, who took the time to apparently figure most of this stuff out and has even pushed back on the kernel developers regarding the modpost symbol length limitation.
Here are the steps that I took while installing a PCIe-6259 on Red Hat Enterprise Linux 5, kernel 2.6.18-53.1.19.el5:
This proceedure worked great on my system, I was even able to run the /usr/local/bin/DAQmxTestPanels application successfully. I had read that some others had to wrestle with MesaLib in order to get this to work.
So, whoo hoo! And, good luck.
Warren
Solved! Go to Solution.
05-20-2008 03:18 PM
10-16-2008 12:28 PM
10-16-2008 05:32 PM
Well NIDAQmx installed just fine on RH5 for me, but I get a weird error:
DAQmx Error: The software has entered an unknown state - usually as a result of a cascade failure induced by an unexpected series of state inputs. The operation could not be completed as specified and you should immediately terminate all further transactions if you are able to do so.
Task Name:
Status Code: -50150
End of program, press Enter key to quit
I have NIDAQmxBase installed on the same system. Is that causing a conflict?
10-24-2008 09:53 AM
I just re-read my post and I want to correct that these instructions "do NOT fix the fact that RHEL 5 has a 4 K kernel stack".
david.miller wrote:Well NIDAQmx installed just fine on RH5 for me, but I get a weird error:
DAQmx Error: The software has entered an unknown state - usually as a result of a cascade failure induced by an unexpected series of state inputs. The operation could not be completed as specified and you should immediately terminate all further transactions if you are able to do so.
Task Name:
Status Code: -50150
End of program, press Enter key to quit
I have NIDAQmxBase installed on the same system. Is that causing a conflict?
NI-DAQmx and NI-DAQmx Base can be installed at the same time so that should not be the problem. What are you doing when you receive this error?
Shawn Bohrer
National Instruments
10-27-2008 11:35 AM
10-27-2008 02:08 PM
Hi David,
First of all, what is the example that you are running, in what API, and what hardware are you using with this example? Also, have you tried running any other examples?
The -50150 error that you are receiving has previously come from driver incompatibilities based on certain hardware. Here is a related forum post that identifies this issue with a cDAQ 9205.
Chris N White
Applications Engineer::High Speed Product Group
11-06-2008 09:14 AM
It didn't work for me!!!!
I got this after ./INSTALL
Installing NI-DAQmx for Linux Installer Distribution version 8.0.0f1...
11-06-2008 12:08 PM
ivorystag wrote:
file /usr/local/natinst/nipal/bin/palModuleMgr.sh from install of nipali-1.10.2-f0 conflicts with file from package nipalki-2.3.0-f1
file /usr/local/natinst/nipal/src/objects/nipalk-unversioned.o from install of nipali-1.10.2-f0 conflicts with file from package nipalki-2.3.0-f1
Any ideas????
Interesting. It appears that you installed one of the newer NI drivers so you have new versions of some of the shared components. What is strange is it looks like you are missing at least one piece of the new driver. If you have nipalki-2.3.0-f1 installed you should also have a nipali-2.3.0-f1. Can you run:
rpm -qa | grep nipal
And post the output.
Shawn Bohrer
National Instruments
11-06-2008 12:15 PM
Hi,
This is what I got........
[root@localhost bin]# rpm -qa | grep nipal
nipalki-2.3.0-f1
[root@localhost bin]#