11-25-2023 10:03 AM
Hi, I am using simulated 9201 voltage input module. I am using two parallel loops to read two particular channels using DAQmx full API. But I am facing an error stating that the specified resource is reserved. Can anyone help me in finding the error.
Solved! Go to Solution.
11-25-2023 10:42 AM - edited 11-25-2023 10:44 AM
Hi Tarunakgec,
@Tarunakgec1 wrote:
Hi, I am using simulated 9201 voltage input module. I am using two parallel loops to read two particular channels using DAQmx full API. But I am facing an error stating that the specified resource is reserved. Can anyone help me in finding the error.
Simple answer: use only one DAQmx task for all channels you want to read! (You need to use the same sample rate for both channels.)
Your 9201 only has one ADC so you cannot share that ADC between more than one task!
11-26-2023 10:57 PM
Thanks @ Gerdw.