Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

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

Solved!
Go to solution

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?

S. Eren BALCI
IMESTEK
0 Kudos
Message 1 of 2
(3,240 Views)
Solution
Accepted by topic author ebalci

I am not sure if this is exactly what you are asking, but It can give you an idea

 

http://digital.ni.com/public.nsf/allkb/1FB00BBE4AC74A9C862576B8005A9983

0 Kudos
Message 2 of 2
(3,194 Views)