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

What is error 50103? at DAQmx START task?

$
0
0

Hi,

I am using cDAQ 9174 with NI 9401 to measure encoder period.  I have two encoders, and learned that I need to have  a separate task for each.  Initially, I got an error telling me that the task was not reserved, so, I followed the forum board and added the DAQmx CONTROL TASK, set to RESERVE.  That eliminated the error, but, now I get a new error 50103, which provides very little detail about what the error actually is.  The attached is a snippet of the code, where you see there are three tasks, two counter tasks to measure encoder period, and one voltage measurement task, which I believe is unrelated to this error. 

 

Error 50103 occurred at DAQmx Control TAsk.vi:3.

 

Possible reasons: NI Platform  Services:  T/he specified resource is reserved.  the operation could not be completed as specified.

Taks Name: _unnamed Task <3E>

 

So, initially, it was telling to reserve the task, now it is telling me that the problem is the reserve.  Does anybody know what this error is about?  The attached code is connected to a WHILE loop that is intended to do a bunch of stuff with the period data after it is collected.

 

Thanks,

Dave

 

 


Viewing all articles
Browse latest Browse all 1271

Trending Articles



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