View Single Post
  #1   Spotlight this post!  
Unread 02-04-2013, 14:45
Dragonslayerend Dragonslayerend is offline
DuncanDynamics lead programmer
AKA: Tom Xiong
FRC #3970 (DuncanDynamics)
Team Role: Programmer
 
Join Date: Oct 2012
Rookie Year: 2012
Location: Fresno, CA, Duncanpoly Tech
Posts: 33
Dragonslayerend will become famous soon enoughDragonslayerend will become famous soon enough
Multiple Encoder issues

Okay So we want to create an auton drivetrain using two encoders. The encoders are to be wired to the Digital sidecard. Each encoder is wired accordingly to specs. a & b to two signal ports and positive and negative to respective pins. The issue we have is when we add a second encoder to the digital sidecard the new encoder gives me flickering values, although the first encoder still gives me normal values. Another thing is also if the second encoder is programmed to anything besides GetDistance()(We use C++) Function, it will not give me any values. When using only one encoder we can use it with any port. Though after adding a second encoder, all other ports will result in the same flickering response besides the port used by the first encoder. We can interchange encoders and the result is still the same even with different encoders. We also got the same results from using a whole second set of electronics(new cRIO ect.). So what we would like to ask is how do you use multiple encoders on a digital sidecard?