Data Acquisition Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
ibm0815

Add 64bit Linux support to DAQmx

Status: Implemented

Desktop Linux Drivers for DAQmx were released in 2018.

It would be great to develop software on 64bit Linux sytem using DAQmx.

Since we`re developing software for 64bit Linux this is a must for us - this means a 64bit Kernelmodule as well as 64bit libraries.

30 Comments
metux
Member

@ibm0815I have seen a roadmap from NI (under NDA) where they are working specifically on Linux drivers for their hardware.  It has been a while since I saw it, but I think the DAQmx was supposed to be at least in beta now, possibly release at NI Week.
It's now been a whole year since I had a call w/ NI about the cRIO drivers issue (which don't have any real drivers at all) - still nothing happened. Assuming, they're really working on Linux drivers, I wonder what takes them so long. Usually I do those tasks within a about month. Writing IIO drivers really isn't so hard. In case they're lacking experienced kernel hackers (which was said in the last call), they could just call. Or post on linux-iio list. The fact that they never did this makes me highly doubt that they're seriously interested in ever getting the problem solved.
I cannot say anything about it being 64-bit or 32-bit
If such drivers depend on host cpu architecture in any way, there's something seriously wrong. Even if one wants to use some cpu specific optimizations, there're lots of generic functions/macros for that (and they really should be used instead - never ever put any asm code into drivers).
Linux Embedded / Kernel Hacker / BSP / Driver development / Systems engineering
metux
Member

Maybe we should sum up how much we (or our clients) will NOT buy.

IOW: sum up their sales loss.

 

I'm putting about 500k on the table - just for one client, just the first round.

Anybody bids more ? 😮

Linux Embedded / Kernel Hacker / BSP / Driver development / Systems engineering
LiliMcDonald
NI Employee (retired)
Status changed to: Implemented

Desktop Linux Drivers for DAQmx were released in 2018.

~~~~~~~~~
ninevoltz
Member

Could you please provide a download link for the 64-bit Linux drivers? This link is broken. Is there a list of products supported by the 64-bit driver? Somehow I don't believe any of this, and if it is in fact true, I'll wager that my boards are not on the compatibility list.

SundarS
Member

NI DAQmx was part of NI Linux Device Drivers released in 2018. The supported device list is part of NI DAQmx README which is zipped here (also found in the download page as DriverReadmes.zip). New installation instructions are here.

ninevoltz
Member

Thank you SundarS! I just finished installing Fedora 28, I'm going to try this out. If it doesn't work, I'll switch to Centos 7 and try again. You guys need to update your download links, there are no links to it from your main site.

ninevoltz
Member

I won't know for sure until tomorrow, but it appears that it works on Fedora 28, with one caveat. The configure script for nikal doesn't correctly detect the munmap variant of the kernel. nNIKAL1_kDoMunmapHasUf should be defined by the configure script for the Fedora kernel, but it doesn't happen. The awk command returns 2, not 1. This is a bug in the configure script, line #174 and 177 should be -ge not -eq.

ninevoltz
Member

Also, are there any plans to add DAQmxTestPanels to the new driver packages? It was very useful for troubleshooting.

ninevoltz
Member

Everything seems to be working on Fedora 28. My PCI-6221 and PCI-6514 are both working perfectly.

SundarS
Member

ninevoltz, Glad to hear that it worked out for you!

Our nikal configure script should be fixed to properly detect do_munmap functions on newer kernels, in our next release.

 

Unfortunately, we do not plan to add DAQmxTestPanels any time soon, but we are considering it for a future release.