Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I use four separate encoders on 9401

Hello! I am working with  cDAQ 9178 with a 9401 card. The chassis and the card have access to four counters and I need to read from four separate encoders. So, I need access to all four counters. I see in the pinout for the 9401, that the counter pins overlap (see screenshot). For example, pin 20 is the A channel for counter 1 and is simultaneously the B channel for counter 3. Is it possible to still use all four counters at the same time since I would need to wire channels on multiple encoders to the same pin?

0 Kudos
Message 1 of 4
(250 Views)

No screenshots were attached.

Anyway, running four counter input tasks on the NI 9401 should work (Reference: Re: Measuring 4 counter inputs through NI 9401). You can assign any digital line as the A and B signals for the encoder. You can refer to the shipping examples. See How to Search DAQmx Examples in LabVIEW

-------------------------------------------------------
Control Lead | Intelline Inc
Message 2 of 4
(215 Views)

Thank you so much for the response! I have reattached the screenshot of the pinout. My big concern is that I need 12 inputs for the four encoders (3 per). The 9401 card only has 8 digital ports which is why some of the pins overlap on the various counters. So, regardless of how I configure the channels, there will still be some overlap. I was wondering if it is safe/feasible to maintain the independence of the encoders if some of them are connected to the same physical pin but different counters. Thanks in advance!

0 Kudos
Message 3 of 4
(207 Views)

You can use 4 counters only if you don't use the Z signal. If you need the Z signal, one 9401 can only read 2 encoders.

-------------------------------------------------------
Control Lead | Intelline Inc
0 Kudos
Message 4 of 4
(181 Views)