Log in

View Full Version : IFI Loader Error


Team905Animator
11-01-2006, 17:16
Run-time error '11':
Division by zero.

Anyone else ever get this error? The code built fine in mplab but now we get this when we try to upload it to the controller. Any help would be appreciated.

Mike
11-01-2006, 22:00
Well, obviously it's because you are dividing something by zero... which can't be done. I'd do a ctrl+f in your code for / 0 and the like. Also check that you aren't dividing by a constant which may be a zero. Lastly, you may be dividing by a sensor that could be reading in zero.

Dave Flowerday
11-01-2006, 22:05
Well, obviously it's because you are dividing something by zero... which can't be done. I'd do a ctrl+f in your code for / 0 and the like. Also check that you aren't dividing by a constant which may be a zero. Lastly, you may be dividing by a sensor that could be reading in zero.
The division by zero is an error in the IFI loader, not the robot software.

DanDon
11-01-2006, 22:30
Run-time error '11':
Division by zero.

Anyone else ever get this error? The code built fine in mplab but now we get this when we try to upload it to the controller. Any help would be appreciated.

Which version of the loader are you using? Is it the newest version? And if so, are you downloading to the new RC?

Team905Animator
11-01-2006, 22:54
Which version of the loader are you using? Is it the newest version? And if so, are you downloading to the new RC?

Yes, the newest version that came out of the KOP. And yes, the new RC. I dont think its the code because we tried to send the default code in and it gave the same error as the modified.

DanDon
11-01-2006, 22:57
Did you try reinstalling IFI Loader? Maybe you're missing some file in the installation.

Team905Animator
12-01-2006, 22:40
Did you try reinstalling IFI Loader? Maybe you're missing some file in the installation.
Reinstalling fixed it, thanks.