|
Digital Sidecar Connection Issue
Hey! I've just set up my brand new cRIO and its not working...
There are a few notable differences between my wiring and the FRC standard wiring.
1. PDBoard --> cRIO - Two wires instead of the wire shipped with the KoP, we used this because we didn't have a spare. The cRIO is stable and (according to the power diagram on the FIRST website it should work.
2. Digital Breakout Card --> Digital Sidecar - This is our biggest alteration, although I cannot see it making a difference. Instead of using a 37 pin M-F serial I used a 15 pin M-F serial with the card mounted directly on top of the sidecar and the cable connecting it to the base of the slot where the card should be. (Digital Card male connector pushed into the Sidecar female connector, 15 pin serial attached from the bottom of the card to the bottom of the slot the card is supposed to be in.) If you need I can take a couple pictures and post them.
Connections
I have one Victor connected to PWM slot 1 on the digital sidecar (connected as explained above into slot 4 on the cRIO.) The light on the victor is flashing orange (which I take is idle/no signal.)
Code
I have LV code that I'm executing. Its the sample code given by NI in their "simple motor" tutorial (using the dashboard numeric control or the joystick control doesn't make a difference)
The cRIO has the latest firmware as does the driver station. My current hookup is laptop -> Driverstation -> cRIO (I removed the router so I could transport it home quickly)
I can update code, and I know its not a networking issue (I networked the whole system myself a few days ago.)
Anyways, the main problem is this. When I tell the motor to go forward (PWM 1, Slot 4) the Victor light keeps blinking orange, I know it should go either green or red. I have a motor attached to it, it doesn't power on and the voltage across the output terminals of the victor are 0.
I don't know if its a programming problem or not, or it may be our PWM cables, is there any way to test if a connection is getting to the digital sidecar? Otherwise, any other teams who have input would be much appreciated.
Values I DO know
Voltage of Power Source (11.9)
Voltage across input terminals of Victor (11.5)
Voltage across output terminals of Victor (when it should be off and on) (0)
All lights on the digital sidecar/cRIO/PD Board are on, cRIO code deploys properly etc. the code just doesn't work.
EDIT: Yes I reset the Victors, that isn't the problem.
Last edited by Happyisgood : 06-15-2009 at 08:03 PM.
|