Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

a problem by using the card NI DAQ 6024E with simulink.

Hallo everyone,
I have a problem by using the card NI DAQ 6024E in simulink model. I have built a model in simulink. In this model I put 2 analog input and 1 analog output blocks of the data aquisition toolbox. The problem is, everytime when I want to get the data from one card, there is error.
For example, I want to use the same card to get 1 analog input and send 1 analog output, the error is:
 
                     NI-DAQ: No DMA channel is available for use.
 
if I use the same card to get 2 analog input, the error is:
 
                     Could not create an analog input subsystem.
                     Error using ==> analoginput.analoginput
                     Error using ==> analoginput.analoginput>localCreateAnalogInputObject
                     The device id is invalid or the device is in use.
 
It seems that I can only use 1 card to manipulate one input or one output data, I can not use 1 card to manipulate ´more than one datasource. That is certainly not correct. But I don't know how to solve this problem.
 
Can anyone tell me why this happens?
 
Thanks a lot!
0 Kudos
Message 1 of 2
(2,957 Views)

Duplicated post.

See here

http://forums.ni.com/ni/board/message?board.id=250&message.id=28825

 

Message Edited by Andre_Saller on 03-26-2007 07:57 AM

0 Kudos
Message 2 of 2
(2,929 Views)