when we run our code we get this diagnostics message:
"Fatal error “Attempting to to reuse an allocated resource” in Allocate()
in C:/windriver/workspace/WPILib/Resource.cpp at line 76
No Change to Network Configuration:<noNICConfig><noNICConfig>
I/O unit not detected or not installed correctly.
does anyone know why this is happening or how to fix it. or even what it really means. it happens most often when we go from forward to revers quickly
How and where are you initializing your drive motors? This happened to us a few times when we accidentally put the initializations in a spot where they tried to create the same motor twice, or a different motor on the same port.
I’m sure someone else will say it, so I might as well give you advanced warning: It helps us help you if you post the code that isn’t working.
It sounds like you might have a new somewhere it shouldn’t be.
We are getting the same error. I just updated the cRio to v27. I am using the SimpleRobot program example as it is.
Could it be the wiring?
OK, Its working now. We did not change anything. We just restarted the cRio a couple of times and did a clean build of the program and voila.
Not sure what the real problem was, but now is time to move to the next challenge.
BTW, the Joystick x and y axis are reversed, I guess that will be our next step to fix it.