View Single Post
  #2   Spotlight this post!  
Unread 28-01-2010, 12:19
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,855
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Spike relay code not working

I'm with Alan on verifying the simple things first.

Develop a checklist for yourself that lists all the available statuses you should be checking that indicate proper and correct operation. Know what the blinking and non-blinking lights mean. These are just a few:
  • Driver Station
    • Enable lit up on Operation tab
    • Status tab status lights
    • Error message window
  • Digital Sidecar
    • Robot Status LED
    • Power LEDS
    • Relay status LEDs
  • Spike Relay
    • Power orange, red/green - forward/backward
  • cRIO
    • Solenoid Module status LEDs
There are others of course, e.g., Power Distribution Panel breaker status LEDS, power status LEDS on most of the electronics, etc.

Telling us what some of these demonstrate to you helps us help you.


Quote:
Originally Posted by lon.bushweiler View Post
Another thought is that the PWM connector on the Spike and speed controllers are somewhat finicky. They will look like they are connect but are actually not. Try re-seating the cable a couple times to see if that changes anything.
A good thought. This problem doesn't affect the Relay status lights on the Digital Sidecar, so checking those are the best indicator or whether your code is working as it should. If the Digital sidecar Relay LEDs are turning on and of, then it'd be downstream of that, meaning the PWM wiring from the Sidecar to the Spike.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 28-01-2010 at 15:00.