From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

NI PXIe-6612 Quadrature Encoder Setup

I plan to use a NI PXIe-6612 and count up to 8 linear quadrature encoder sensors.  

 

I've determined that quadratures use the Gate, Source and Aux counter I/O.  I would like to know if I can se the Out counter I/O as a static digitial input/output with using the same counter for quadrature encoder sensing.  

 

Here is an example.  

 

I connect my quadrature encoder to Counter 1 Gate, Source and Aux connections.  Can I use Counter 1 Out connection as a statis digital I/O?

 

I plan to use P0.0 to P0.7 as digital outputs and need to use the counter OUT connections for digital inputs.  

 

Thanks,

 

ADam

0 Kudos
Message 1 of 2
(4,502 Views)

Hi Adam,

 

Yes, this is doable. The gate, source, aux, and out terminals of the 6612's counters are all PFI lines, which can be configured as static digital I/Os. For more info, refer to page 4-3 of the user manual: http://www.ni.com/pdf/manuals/374008b.pdf

Tom D.
Staff Software Engineer
NI
0 Kudos
Message 2 of 2
(4,473 Views)