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!