08-03-2007 10:24 PM
08-06-2007 09:06 AM
It's a case of somewhat ambiguous terminology. I've never been real happy with their choice of the term "pulse" for configuring quadrature encoders -- I would prefer a term like "cycle."
The value you wire in should be the distance represented by 1 full quadrature cycle. (Since this will be the distance from rising edge to rising edge on one of the quadrature signals, you can kinda see how someone decided to refer to that span as a "pulse.") If you measure in X4 mode, you'll produce 4 increments of measurement per cycle. That's why you see the 0.5 quantization when wiring a value of 2.
Generally, when I find such ambiguities in meanings of inputs, I run little test cases to help me figure out how things really work. I've found this to be more reliable than counting on my memory.
-Kevin P.
08-06-2007 09:43 PM
08-07-2007 09:33 AM