rpm from encoder

Were trying to get RPM out of our encoders, but nothings working. How do you get it? Were getting the rate from the get VI but that doesn’t help, unless you can convert it somehow which were at a loss for

You’ll get a useful answer faster if you provide useful information.

What encoder ?

About how fast is the encoder spinning? (e.g. shooter wheel, drivetrain wheel, drivetrain steering, arm, elevator, etc etc)

Is it plugged into cRIO or Jaguar? Describe how it’s wired.

4x, 2x, 1x ?

What does “nothings working” mean?

What have you tried so far? What were the results?

You get the idea.

That rate is in pulse per second (if your distance per tick is set to the default of 1). You should be able to convert that to RPM by knowing how many pulses per rev for your encoder.

We converted it into rpm, but what should be a good time in ms to set the timer config in the begin too? Our indicator is twitching around so much we can’t really read it

We are using DMA to read our encoders. Check out the DMA-Encoder example to implement this

linked for readers:

http://www.chiefdelphi.com/forums/showthread.php?p=1133016#post1133016