Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Quadrature not working for linear encoder

Hello All,

I have an application where I acquire counter signals from a flowmeter. This flowmeter has A and B signals like a traditional quadrature encoder.

Theese signals are wired to a PCIe-6612 counter board.

I have discovered that when I select the linear encoder instance of the "DAQmx Create Virtual Channel.vi" and set it as X4 decoder, it's not working. It behaves as a X1 counter.

I have to select the Angular encoder instance instead to have the X4 decoding working properly.

 

Is it a bug or a known behaviour?

 

Regards

0 Kudos
Message 1 of 4
(5,890 Views)

I have used a linear encoder in X4 mode without any problem. However, the interface was not a counter board but a PCIe-6323 DAQ board .

The main difference is that I configure the channels with Measurement And Automation Explorer (MAX) and then use them in LabVIEW.

 

As a first step, I would check if the linear encoder X4 setup works in MAX. If yes, the error comes from the LabVIEW code.

 

0 Kudos
Message 2 of 4
(5,870 Views)

Does it work ?

0 Kudos
Message 3 of 4
(5,787 Views)

Sorry for my late reply.

In fact, as the angular encoder works, and this machine is on site, so I did not investigate any further.

The settings of both instances of this VI are quite the same, so I don't think there was a bug in my code.

I was just asking if someone already had the same problem with the same acquisition board.

 

Thanks for your help.

Regards

0 Kudos
Message 4 of 4
(5,784 Views)