Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -10455 on DIO6534.


Setup: Windows NT 4.0, NI-DAQ 6.9, CVI 5.5, Double bufferred with DIG_Block_In() and Grp2
works one time. Second time I get error -10455 which means no DMA channel available. I added the Set_DAQ_Device_Info() for 1 dma channel and still same problem. Any ideas? Is there a function that will free up the dma resources that I can callup maybe a c function?
0 Kudos
Message 1 of 5
(4,406 Views)
By "Grp2" do you mean that you are using two groups, or your groupsize is two?
NI-DAQ uses both DMA channels (by default) for the double-buffered operation; therefore, when the second group is used, there are no DMA channels available. If you are using two groups you need to use the Set_DAQ_Device_Info to change both the "data transfer mode for digital I/O group 1" and "data transfer mode for digital I/O group 2" to use "up to 1 DMA channel".
To clear the operation make sure that you call the following functions:
/* Clear the block operation. */
iStatus = DIG_Block_Clear(iDevice, iGroup);

/* Clear DB mode for the device. */
iStatus = DIG_DB_Config(iDevice, iGroup, iDBModeOFF, iOldDataStop, iPartialTransfer);

/* Unconfigure group. */
iStatus = DIG_Grp_Config(iDe
vice, iGroup, 0, 0, 0);
0 Kudos
Message 2 of 5
(4,406 Views)
I did all the above, and my group size is two. It still didn't work. However I made it working. The problem was in the NT configuration the DMA wasn't enable. Thank you for your help.
0 Kudos
Message 3 of 5
(4,406 Views)
Hello,
How did you configure the DMA on an NT?
I have the same problem on a W2K machine.

Any Help would be appreciated.

Thanks,
vcppguru@yahoo.com
aflores@navcomtech.com
0 Kudos
Message 4 of 5
(4,406 Views)
I too have seen this problem intermittently. I am using windows 2000 server and up to 12 digital boards. I will try this fix.
0 Kudos
Message 5 of 5
(4,406 Views)