Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

Connecting with one AI-control and one CTR-control to a PCI-6020-E card

I would like connect one AI on channel 1 and one CTR on chanel ctr0. Wenn I call start the AI after the call configure then all is right. But after wenn I call start the CTR after the call configure then an error is raising witch message "No DMA channel is available for use". Why? Who kan help me please?
0 Kudos
Message 1 of 2
(3,030 Views)
Hello;

If you are doing a buffered counter operation, together with an AI operation, each one of those tasks will use a DMA channel.
If your machine has several devices using DMA channels, you might run out of resources.
You thing you can try out there is to set up the counter operation to work with IRQs instead.

If you are using NI-DAQ function calls, the function Set_DAQ_Device_Info does the trick, and in case you are using Labview, you can use the VI named Set DAQ Device Information.

Hope this helps.
Filipe A.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(3,030 Views)