Quote:
Originally Posted by j.cole
Wow its good that I didn't see that before and waste a few hours trying to figure this out.
So it gives me the rate of the encoder perfectly?
|
Yes, you can look inside the Encoder Get VI to see (kind of) how this works. The help for the VI (what I checked before posting the first time) says that it is in pulses per second, put that does not appear to be correct based on looking at the internals and usage/comments in some previous team code.
The rate returned is actually Distance Per Count (set when opening) * Pulses/sec. So if you are just using rate for this encoder and not distance you can set your distance per count such that the rate returns in RPM.
To do this take Revs/min = the formula I wrote above and solve for the Distance Per Count term.