we have a strange problem which we could not diagnose properly.
We tested all our motors and Victor drivers one by one. They were all running.
We created a simple program which only creates PWM outputs. I checked all ports with a multimeter, and they are fine too.
I double checked that there is 12V power on the left side of Victors, and their yellow LEDs are flashing.
However, when we connect the PWM outputs to 2 Victors, only one of the motors turns. After formatting CRIO and downloading the program again a few times, that motor stops still and the other one turns. :ahh: The LED of the moving Victor is constantly on, while the non-moving is still flashing. Swapping the PWM ports does not change the moving motor.
Yeah, I know it’s strange but I thought there are many experienced people here and someone could suggest a solution.
We had a similar problem when we first fired up our robot for the first time
Turns out it was a wiring problem, resulting from a boggling design flaw with the Victor.
The PWM cable is actually capable of (easily!) plugging into the slot, with all of the pins completely missing the terminals inside, but without bending any cable pins, or looking any different from the outside.
I will admit it was me who plugged in the wrong ones, but the difference in the “feel” and look of plugging them in wrong was identical to plugging them in right.
our problem was different than yours. the cables were good and they were well connected. the battery was not able to supply enough current. probably, due to the design of Victors, one was drawing all the current the battery could supply, and the other Victor was not getting any current at all.