View Single Post
  #15   Spotlight this post!  
Unread 04-01-2013, 19:29
Brian Selle's Avatar
Brian Selle Brian Selle is offline
Mentor
FRC #3310 (Black Hawk Robotics)
Team Role: Engineer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Texas
Posts: 166
Brian Selle has a spectacular aura aboutBrian Selle has a spectacular aura aboutBrian Selle has a spectacular aura about
Re: Digital Side Car Issue with Encoder

Quote:
Originally Posted by Chris Hibner View Post
If you have some time to experiment, let us know what you find.
With the encoder plugged into "good" DIO ports I tried calling reset() during each periodic cycle and it worked fine. I then added a call to start() after the reset() and that worked fine as well. I tried each case 5-6 times. We used the reset() call last year on our shooter encoder and never had a problem. It may be a LabView thing or just that I haven't run into the unlucky set of circumstances.

Quote:
Originally Posted by EricVanWyk View Post
It looks like other posters have a more likely explanation. If switching the DSC for a different one cures the problem, I'd like to see it. If it doesn't, I'll gladly point the finger at software and walk away whistling.
It's definitely the DSC. I tried the compressor switch in DIO ports 2, 3, and 4 and it curiously it did not work. Works fine in all the other ports.