Quote:
Originally Posted by Bpk9p4
It is mounted to an idler sprocket to a gear box. So there should be no slip
I have the encoder running in a 100 ms period task. It is setup how it says in the example
I am getting around 9600 pips per second
|
What do you mean by "pips" in this context?
What example are you referring to?
What is the complete model number of the S4 you are using?
How fast are you spinning the encoder (RPM) ?
Are you using the FPGA to compute rate? If so, what sample size are you using? And what mode 1X, 2X, or 4X? Or are you reading delta counts and dividing by elapsed time? If so, are you just dividing by 100ms? Or are you reading the system clock to get elapsed time? For the 100ms task, are you using a timed loop or a wait loop?
It would help if you would post a picture of the relevant portion of your code showing all the parameter values you are using to decode the encoder signal.