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
(3,114 Views)
Have now puzzled out the answer to my own question.

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

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