12-06-2011 09:44 AM
Hello,
I have just installed a PCI-6509 and NI-DAQmx 8.0.2 on SUSE Linux. I intend to use the ANSI-C drivers in a C++ application. I don't have Labview Installed.
I started to work my way the Configuration Guide, mainly to check that I had installed it all correctly, and have reached the point where nilsdev is run. On the surface all appeared to install OK.
When I run nilsdev I get the following error:
FATAL: Module nimdbgk not found.
Is this important?
It obviously can't find nimdbgk, but it doesn't look like it's been installed.
In /usr/local/bin lsmod | grep ni returns
nipalk
nikal
lspci finds the NI Card (but it seems to have the wrong number on, not sure that's an issue)
05:01.0 Class ff00: National Instruments Devices 7085.
Is nimdbgk part of LabView, which is why I don't have it?
Has any got any ideas?
Thanks.
Solved! Go to Solution.
12-06-2011 10:35 AM
Bit more info....
I have tried to compile the example in
ansi_c/Digital/ReadValues/ReadDigChan
and it fails with the following error:
skipping incompatible /usr/local/lib/libnidaqmx.so when searching for -lnidaqmx
12-06-2011 12:59 PM
I think I should have posted this on something a bit more related to Linux. Apologies.
My SUSE is a 64-bit version. Would these be symptoms of DAQmx not being supported on 64-bit?
12-07-2011
11:33 AM
- last edited on
12-29-2024
02:13 PM
by
Content Cleaner
Hi Jonnnnnnn,
(hope I got enough n's on that)
Nimdbgk.dll is part of the NI Measurements DeBuG Library. It should have been installed correctly when you installed DAQmx.
I have found some information on installing DAQmx on Linux, but it's for x86 systems so I'm not sure what the outcome will be on an x64. x64 might be the cause of your issue as you suggested.
You need to be careful with the order of installing the components.
I'm not an expert when it comes to Linux, so I won't try to convey an answer, but if you have a look at this, I think that might help you.
If you still have issues, let me know and I'll see if I can find anything else.
Kind Regards,
12-08-2011 03:18 AM
Hi.
thanks for the repy. I go passed my compiling problem by using the -m32 compile option.The allowed the examples to compile. I've raised another qustion on the linux board. I don't think that NI-DAQmx is yet at the verison where 64-bit support was added (8.9) but I wanted to find out what the plan was.
12-08-2011
04:44 AM
- last edited on
12-29-2024
02:13 PM
by
Content Cleaner
Hi,
Unfortunately, you are correct. DAQmx for Linux is still only officially supported in x86 kernel in the latest NI-DAQmx 8.0.2 version. Information on supported systems is always included in the Readme file.
Kind Regards,
12-08-2011 04:48 AM
Can you tell me, even approximately, when the Linux NI-DAQmx is likely to be 64-bit/verison 8.9? Months/Years? Not going to hold anybody to anything but going forward we'd like to plan ahead a bit. It makes a difference if it's months/years as to what we do.
Has anybody got it working unsupported?
12-08-2011 04:59 AM
Hi,
I'm not privy to that kind of information officially, but I would speculate that it would be in the 8.9 release.
"NI-DAQmx added support for 64-bit user mode in NI-DAQmx 8.9 (ANSI C) and NI-DAQmx 8.9.5 (ANSI C, LabVIEW 2009, and .NET Framework 3.5). This now allows for 64-bit application development on 64-bit operating systems when developing in a 64-bit Application Development Environment (ADE)."
Going by the trend that has occurred with Windows based drivers, that would be my best guess.
There are a few forum posts that state that people have got DAQmx working on x64 systems, but with the -m32 extension for compilations, so it's not really 64 bit. Unfortunately the posts are open ended and don't really contain any resolutions as such.
For example this or this. I just searched 'DAQmx Linux 64 bit'.
I hope that helps a bit. Sorry I don't have a definite answer.
Kind Regards,