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
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.