DAQExpress

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 50103 - resource reserved

Hi folks,

 

I installed DAQexpress and tried to use it with my USB-6002 - trying to read A0 and A1 with a loop, I get an 50103 error - resource reserved

 

daqaxy_1-1632676587499.png

 

 

daqaxy_0-1632676563776.png

 

Any ideas, what I'm doing wrong? Thanks a lot in advance for your advises and best regards

 

daqaxy

 

 

0 Kudos
Message 1 of 4
(2,173 Views)

Can't comment on DAQexpress, but from the looks of it, you're trying to read two channels in parallel which is not possible on USB-6002

 

To explain further, you can ask the device to read ain0 and ain1 together but not separately at the same time. Imagine yourself listening to two persons and doing two different stuff on both your hands which you would not be able to do so unless you have two brains, instead if there is only one person commanding you, you can still do two different things on two hands because the brain can process only one command at a time.

 

At any point in time, DAQ can do only one thing, you can fix this by sequencing the AIN0 and AIN1 reads instead of having them parallel.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 4
(2,167 Views)

Thanks for your quick help

 

I now tried to unreserve the resource, but this does not help and change the behaviour - why is there so less documentation - so an easy reading of different AI for DAQexpress would be so helpful ...

 

daqaxy_0-1632749728970.png

 

0 Kudos
Message 3 of 4
(2,140 Views)

I found the solution - when I want to acquire more than one channel per iteration, I have to configure my task to look at more than one input channel

 

daqaxy_0-1632839724690.png

 

 

daqaxy_1-1632839772460.png

 

daqaxy_2-1632839804476.png

 

 

0 Kudos
Message 4 of 4
(2,129 Views)