View Single Post
  #4   Spotlight this post!  
Unread 25-03-2009, 13:47
Brdn666's Avatar
Brdn666 Brdn666 is offline
Registered User
AKA: Brandon
FRC #2604 (Metal & Soul)
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Capac, MI
Posts: 24
Brdn666 is an unknown quantity at this point
Send a message via Yahoo to Brdn666
Re: problems with velocity readout from encoderget vi

If you still can't get it, you can use the counter. The period output works for speed. One rev (Count of the counter) is one rev. of the encoder. Multiply that by the circumference of the wheel or whatever and you got the speed. You also get rev. here. You can multiply that by the circumference to get distance too.. that would save space. You must have a Digsrc if the encoder is analog!! You get some example code for it.
__________________
Reply With Quote