08-20-2013 02:49 PM
It is well know that if you have e.g. multiple CI tasks and you try to run them on a board featuring a limited number of DMA channels (e.g. the PCI 6601) that you have to resort to Interrupts for data transfer.
In my application I am currently offering the option for users to either select DMA for all tasks or Interrupts on the UI in function of their hardware.
However, I would like to autodetect the number of available DMA channels (because some users have no clue what DMA is and hence will complain).
I looked through the .NET API docs, thinking I could get any device from Daqsystem.local and get a property on the device that would tell me the number of DMA channels.
However, I could find no such property or I missed something, who can give me a definitve answer?
Cheers,
Kris
Solved! Go to Solution.
08-22-2013 06:13 AM
Nobody??
Not even NI people? 🙂
08-22-2013 01:23 PM - edited 08-22-2013 01:26 PM
Hello Kris,
The Ni employees are still alive, but I had some pc issues I had to fix first. 🙂
(I didn't ant to update Windwos and Windows gave me script errors 😉 )
Are you by any chance looking for the following property?
NumberOfDmaChannels
You should be able to find more info about it by just searching for that property name "NumberOfDmaChannels" in the NI-DAQmx .NET Class Library Help:
http://digital.ni.com/manuals.nsf/websearch/A524F72316C798B986257BC800682351
Please let us know if this is what you were looking for.