Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

No DMA channels available error

Hello everybody,

I have been working on a project for a while. I was about to finalize my project but I encountered an unexpected thing.
I am doing buffered period measurement by using 4 counters as generating pulse for the other 4 counters, which are receiving the sensor signals. (I am using a 6602 Card) Normaly I was working with two channels and there was no problem. When I wanted to extend the program to receive 4 sensor signals, this error related to DMA occurred. I then realized that my card has only 2 DMA channels integrated and I can not use more than 2.
I am pasting my program here also. I heard that there is a way to make this data transfer my using interrupt method instead of DMA. How can I apply this into my program? It would be nice to use DMA transfer for first two and interrupt for the last two counters.
I found a vi called 'Set DAQ Properties', which seemed like I could set this property for some channels, but I could not implement it into my program.
I would be really thankful if you could show me some directions.

Thanks,
Cihan
0 Kudos
Message 1 of 2
(3,143 Views)
Hello Cihan.

Use the Set DAQ Device Information VI before your Counter Control.vi. Set the information type as the individual counters' and information setting as interrupts. Does this get rid of the error? Please let me know if you have any questions. Have a great day!

Sincerely,
Marni S.
0 Kudos
Message 2 of 2
(3,137 Views)