Using Quadrature Encoders with the PXI-6123

Updated Apr 27, 2018

Reported In

Hardware

  • PXI-6123

Driver

  • NI-DAQmx

Issue Details

I am trying to use an encoder with my PXI-6123 but am unsure how I can set it up.

Solution

In order to use the encoder, follow the steps below:
  1. Connect Channel A of your encoder to one of the counter's Source terminals
  2. Connect Channel B of your encoder to the corresponding counter's Up/Down terminal
  1.  Use a Count Edges task, and set the Count Direction to Externally Controlled 

Additional Information

The PXI-6123 is an S-series device which uses the DAQ-STC. This timing controller doesn't natively support quadrature encoders, so any other devices that are a part of this family will need to use the same procedure.

Since the S Series uses the same timing device as the E Series, this method applies to them as well. It is important to note that there are some limitations with this method.

Native quadrature encoder support was added as of the M series family.

WAS THIS ARTICLE HELPFUL?

Not Helpful