Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

nilsdev - Module nimdbgk not found

Solved!
Go to solution

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.

 

 

0 Kudos
Message 1 of 8
(5,126 Views)

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

 

0 Kudos
Message 2 of 8
(5,124 Views)

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?

0 Kudos
Message 3 of 8
(5,118 Views)

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,

Oli
LabVIEW Student Ambassador
National Instruments UK
0 Kudos
Message 4 of 8
(5,103 Views)

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.

 

0 Kudos
Message 5 of 8
(5,091 Views)

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,

Oli
LabVIEW Student Ambassador
National Instruments UK
0 Kudos
Message 6 of 8
(5,088 Views)

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?

0 Kudos
Message 7 of 8
(5,086 Views)
Solution
Accepted by topic author jonnnnnnn

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,

Oli
LabVIEW Student Ambassador
National Instruments UK
0 Kudos
Message 8 of 8
(5,084 Views)