From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Method for setting DMA transfer M series

I have an M series card and am programming in C#. Can I ask how do I set DMA mode?. The Help says "Use the AIDataTransferMechanism enumeration member Dma", but I can't find any function of which this is a member. It is not in Task and not in Device.

Ray
0 Kudos
Message 1 of 3
(2,921 Views)
Have now puzzled out the answer to my own question.

task.AIChannels.All.DataTransferMechanism=AIDataTransferMechanism.Dma;

Ray
0 Kudos
Message 2 of 3
(2,921 Views)
Thanks for the answer!.
0 Kudos
Message 3 of 3
(2,547 Views)