LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

cDAQ 9229 configure for independant channel measurement

I have a need to use the cDAQ 9229 to make 3 measurements using 3 separate channels at different times, but when I try to configurre the channels independantly and use them to make a measurement.

 

My configuration is (pseudo):

Chan1: Create Chan "Dev1/ai0",commit,start_task,read,stop,clear.

Chan2: Create Chan "Dev1/ai1",commit,start_task,read,stop,clear.

Chan3: Create Chan "Dev1/ai2",commit,start_task,read,stop,clear.

 

 The First CHannel Works, but when the second gets to commit, I get an error saying the following.

"NI Platform Services:  The specified resource is reserved. The operation could not be completed as specified."

 

Please help.

0 Kudos
Message 1 of 2
(2,827 Views)
If you have truly stopped and cleared the previous task, you will not get the error. Post your actual LabVIEW code so someone can look at it.

Your alternative, as you must have seen when you searched for the error, is to simply read all channels.
0 Kudos
Message 2 of 2
(2,815 Views)