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