Discussion:
How do I enable DMA on my PCI-6024E?
(too old to reply)
headleypc
2008-07-30 18:10:11 UTC
Permalink
According to this <a href="http://digital.ni.com/public.nsf/allkb/E00C0F790CA2CDA686256BF000614DE1?OpenDocument" target="_blank">KnowledgeBase article</a>, my PCI-6024E should have one available DMA channel.&nbsp; However, when I look up the device in the MAX under "Tradition NI-DAQ Devices" (since under "NI-DAQmx Devices &gt; PCI-6024E" there is no mention of DMA) it displays System &gt; Resources &gt; Direct Memory Access 0.&nbsp; Is DMA actually available on my DAQ device?&nbsp; If so, how do I enable it?&nbsp; We use this device with DASYLab 10 on Windows XP, need to write/record at 1000Hz, and are having much trouble without DMA. Thank you,Patrick
Corby_B
2008-07-31 15:40:24 UTC
Permalink
Hello headleypc, Thanks for your post and questions about DMA!I believe what you want to do can be done with a property node in DAQmx. When you set up your task do this before you call the DAQmx start.vi and this will allow you to set the DMA channel active. Also take a look at this knowledge base that talks about how to use the DMA channels in different programing environments. <a href="http://digital.ni.com/public.nsf/allkb/C326F7D33CA6DB0E86256DFE008043B7?OpenDocument" target="_blank">How do I Configure the Data Transfer Mechanism (Interrupt or DMA) in DAQmx and Traditional DAQ?</a> Also see the picture attached that shows how to do this with the property nodes. Let us know if this information helps you and I wish you the best of luck with your applications.Cheers!Corby_Bhttp://www.ni.com/support


DMA.JPG:
Loading Image...
headleypc
2008-07-31 17:10:13 UTC
Permalink
Corby,
Thank you for replying.&nbsp; We are actually using DASYLab v.10 as our data acquisition program; it seems from your reply that in LabVIEW and other applications the selection of DMA is done internally.&nbsp; I cannot find such options in DASYLab - it seems as though everything concerning the A/D conversion is controlled in the Measurement &amp; Automation Explorer.&nbsp; Is this where I would enable DMA?&nbsp; As I stated before, I could not find such an option there.
Thank you,
Patrick
Corby_B
2008-08-01 15:10:09 UTC
Permalink
Hello headleypc, Thanks for your post back,DMA is actually handled by the DAQmx driver and unless you specify the DMA channel is on by default. So if you are doing an Analog input task then the transfer for that will be DMA. Using the DAQmx driver you can set weather or not you want to have DMA on or not specifically for the tasks that you are performing. Since this card only has one you would only be able to do this for one task. Are you not able to pull out the data from the card fast enough using the DASYLab software? In labVIEW we have what is called a producer consumer design witch allows you to take data in one programming loop and then process or save data in another. That way you will avoid the problem of buffer overflows and missing data. So the question about how DASYLab handles DMA might need to be addressed to the DASYLab <a href="http://www.dasylab.com/" target="_blank">support team</a>. Let us know if this information helps you and please post back if you have any other questions. Cheers!Corby_Bhttp://www.ni.com/support
Loading...