LabVIEW newbie question...
I have a linear quadrature encoder (5um resoulution with X4 decoding) connected to a PCI-6251 DAQ board. The encoder A line is connected to PFI 8 and the B line is connected to PFI 10.
Using LabVIEW 7.1, I would like to count the number of raw pulses from a zero point using X4 decoding. I have tried the Express VI and a couple of example VIs but I have not been able to have anything work quite right. The attached Encoder Pulses VI is a simplified portion of the code. When Ticks are selected, I get the correct number of pulses for the given distance but the data item "rolls over" instead of counting in the negitive direction. When meters is selected, I get a +/- measurement but unless I set the distance per pulse to 4 I don't get all the expected pulses.
What should I be using / doing to get the desired data format?
Thanks....