Driver Development Kit (DDK)

cancel
Showing results for 
Search instead for 
Did you mean: 

Example for DMA acquistion (E series) no interrupt

Hi everybody,

as a newby on the NI DDK I want to realize the following functionality (on Linux) using a E series PCI board.
1. In a configuration phase I want to configure my hardware to perform a single measurement on all 16 AD channels.

2. In the runtime phase, I want to trigger the hardware (via software) to perform the measurements (one measurement
on all 16 AD channels).
The measurement results of all 16 channels should be transferred via DMA into the PC memory.
I do not want to get an interrupt, however I want to be able to check if the DMA transfer has been finished.
(While the acquisiton happens on the hardware, the CPU has to do calculate fairly complex operations,
I think these operations take longer than the acquistions, that's why I do not want an interrupt).

The step 2 is repeated periodically. However, I want the software to do the triggering of the measurements on
not the hardware itself.

Is there an example available (for the E series) that shows at least parts of this
scenario?

Thanks for any feedback!

Regards

Mathias
0 Kudos
Message 1 of 2
(6,901 Views)
Mathias,

there shouldn't be a need anymore to use the driver development kit for DAQ devices under Linux. The NI-DAQmx driver for Linux supports all the features you are looking for.

I hope that helps.
Best regards,

Jochen Klier
National Instruments Germany
0 Kudos
Message 2 of 2
(6,890 Views)