|
Re: What is an encoder
Quote:
Originally Posted by Team3993Tom
Thanks GeeTwo,
We aren't using servos, but we are using an encoder to try to measure the speed we are going. We wired it to the DIO, and the the designated ports. Would the encoder need to be coded, or should it show up on the driver station screen? Thanks Again 
|
You will have to write software to calculate the rpm and other software to write that info to the driver station. In software you have to call either the Encoder VI or Counter VI and these will give you a rate and direction for the encoder VI or a number of pulses or time between pulses for the counter. If all you need is speed than use the Counter VI.
__________________
---------------------
Alumni, CAD Designer, machinist, and Mentor: FRC Team #4080
Mentor: Rookie FTC Team "EVE" #10458, FRC Team "Drewbotics" #5812
#banthebag
#RIBMEATS
#1620
Last edited by jman4747 : 13-01-2015 at 17:51.
|