Quantcast
Channel: Counter/Timer topics
Viewing all articles
Browse latest Browse all 1250

Resource reserved error on adding 2 counter input channels from NI 9361 cDAQ module

$
0
0

Hi,

 

While working with NI counter input channels in the past, we have been advised to add channels to their own tasks. 2 counter input edge count channels thus require 2 tasks. However, while working with an NI 9361 module (on a cDAQ-9188 chassis), I notice the following error: 

 

DAQmx Error: The specified resource is reserved. The operation could not be completed as specified.
Task Name: _unnamedTask<1>

Status Code: -50103

 

I have attached my C code to reproduce the issue. Is this different from other devices? Should I be using a different approach in this case. Please let me know your thoughts.

 

Best,

Varun Hariharan.

MathWorks


Viewing all articles
Browse latest Browse all 1250

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>