09-26-2021 12:17 PM
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
Any ideas, what I'm doing wrong? Thanks a lot in advance for your advises and best regards
daqaxy
09-26-2021 12:42 PM
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.
09-27-2021 08:35 AM
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 ...
09-28-2021 09:36 AM
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