We are trying to program a PCIe-6341 for analog output in C under Ubuntu 22.04 (kernel 5.15). This combination is supposed to be supported under the hardware/OS compatibility matrix for NI-DAQmx, but examples fail when trying to transfer data to the card. Namely, DAQmxWriteAnalogF64 fails with error -50152. I have the impression that the software talks to the card, but the DMA transfer won't run, for some reason. I tried "interrupt" and "PIO" modes, but also without success.
I've tried 2022Q4 Ubuntu drivers, both the "2022Q4" and "stream" versions, with the same effect.
The card runs fine on Windows (but the res of our system is on Linux, so Windows is not an option).
Has anyone got this working? Is there something ridiculously stupid that I'm doing that prevents this from working? Some system setting that allows DMA to work?