LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx

Solved!
Go to solution

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. image.pngimage.png 

0 Kudos
Message 1 of 3
(404 Views)
Solution
Accepted by topic author Tarunakgec1

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!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 3
(396 Views)

 

Thanks @ Gerdw.

0 Kudos
Message 3 of 3
(327 Views)