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

Max number of angular encoders I can simultaneous read using a 9174 chassis and 2x9411 modules?

$
0
0

This is the bottomline theoretical question:

How many simultaneous angular measurements can I have using 2 separate 9411 counter modules which exist in a 9174 (4 slot) chassis?

(or to re-phrase)

Am I limited to a single angular encoder task (with a single counter channel in it) on 9174 chassis even if I have multiple counter modules?

 

Below are the details:

I am, ideally, trying to simultaneously measure torque and angle from 4 axis of rotation at the same time. (I also have one 9239 module for reading the analog torque sensor output.) I will be OK, even if I can read them 2-by-2.


The torque channels can live in a single AI task and I can sample them (hardware timed) together without problems. And I can use the same AI sample clock to sample the encoder reading. But I cannot read 2 encoders simultaneously. They cannot be put in a single task and I cannot start 2 separate counter tasks simultaneously.

I can start the AI (with all 4 channels inside) and the first counter task (only counter-0 of first 9411 inside) without problems. But when I also start the second counter task (only counter-0 of second 9411 inside) I get an error saying "the resource is reserved already". I do not know which resource it is complaining about. The 2 counters/encoders/tasks I want to read from are on 2 separate modules. But for some reason it does not allow that.

 

Is there a way of getting what I need with this hardware configuration, of do I need another counter module like 9361?


Viewing all articles
Browse latest Browse all 1271

Trending Articles



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