LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I am using PCI-6036 and tring to run example:Multi-function-synch AI-AO.v

i in DAQmx example, but there is an error like this:"No DMA channels are available. Either shut down other tasks that might be using these channels or consider changing your data transfer mechanism to Interrupts." Could you help me to solve this problem???I feel like simultaneously AI_AO is not easy using labview DAQmx for me.
0 Kudos
Message 1 of 5
(3,498 Views)
i in DAQmx example, but there is an error like this:"No DMA channels are available. Either shut down other tasks that might be using these channels or consider changing your data transfer mechanism to Interrupts." Could you help me to solve this problem???the 6036 only has ONE DMA channel and not three. Therefore you can only use DMA for analogue input or analogue output (documented in manuals).

To get around this you will need to use buffered output and multiplex the DMA.

This is a limitation of all Low Cost E-Series cards including the 6036. To get larger DMA you will need to get better specced card.

However I could be wrong.
Message 2 of 5
(3,497 Views)
i in DAQmx example, but there is an error like this:"No DMA channels are available. Either shut down other tasks that might be using these channels or consider changing your data transfer mechanism to Interrupts." Could you help me to solve this problem???Marc is absolutely correct. Since the PCI-6036E only has one DMA channel, you will need to configure one of the operations to use interrupts. Below, I have attached a modified version of the example that demonstrates this procedure.

Good luck with your application.

Spencer S.
0 Kudos
Message 3 of 5
(3,497 Views)

Dear friends:

I was trying to use this vi but sometimes it shows a error (attachment). Do you have a sugestion to resolve this problem?!

Thank you.

0 Kudos
Message 4 of 5
(3,253 Views)
Hello Clecio,

Error -200016 is a buffer underflow error that occurs in the analog output operation.  This error indicates that your system is unable to transfer data fast enough from the memory in your system to the buffer onboard the device in order to keep up with rate at which the device is outputting data.  The error description lists some possible solutions to this problem.  The first suggestion is to decrease the sampling rate of the analog output task.  This will reduce the rate at which data must be transferred to the device, hopefully allowing your system to keep up.  The second suggestion is to change the data transfer mechanism from interrupts to DMA (direct memory access), since DMA allows data to be transferred across the PCI bus to the device much faster.  Unfortunately, from your error code, it looks like you are using the PCI-6036 E series device, which only has one DMA channel available.  This means that if you have an analog input and an analog output task running at the same time, only one of them can use DMA to transfer data.  However, our newer M Series devices have 6 DMA channels, which can really improve performance when running multiple tasks simultaneously on the same device.  You can see from the VI's above how to manually switch between interrupt and DMA transfer mechanisms.  I hope this information helps,

Travis G.
Applications Engineering
National Instruments
www.ni.com/support
Message 5 of 5
(3,233 Views)