I am setting up a quadrature spindle encoder for my lathe. Analysis with my scope indicates the encoder is working. Also, the Kmotion Digital I/O window shows bits 4 and 5 toggling as the spindle is rotated. However, GetSpindleRPS returns 0.0000 when spindle is rotating about 1000rpm
I have attached my init routine and my .h file with contains the definition of the spindles.
Gary