Huge problem with code running multiple motors

Hello all!

I’ve been trying to get multiple victors working on our robot, and it’s not working…at all…

Right now, it almost appears our cRIO is not accepting changes to the code, as I recompile, and the same code runs on the cRIO as before. Things like changing button combinations and drive channels for speed controllers seem to have no effect.

I have already re-formatted the cRIO with the 2013-v47 image, and that didn’t solve the problem either.

I’m going to go ahead and try to resave my project and re-open, just to see if NetBeans is causing the problem.

If anyone has some tips for how to solve this problem, and some code examples for multiple motors, that would be very much appreciated.

Thanks!
~Altan

If you have a “Main Project” set, make sure it’s set to the one you’re working on :cool:

Made that mistake once.

Since the thread title is about multiple motors, be sure that the digital breakout is powered by 12V on the end and the three LEDs are bright. The motor controllers sorta work without this, but they don’t always work, and it is very confusing.

Greg McKaskle

The problem ended up being a hardware problem, but it was rather flaky.

While carelessly drilling over our digital sidecar, lots of metal shavings got inside and broke some of the connections. We solved the problem by taking out the shavings.

I think there’s a lesson for the mechanical team in here somewhere…

Thanks for the help!