Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   IFI Loader Error (http://www.chiefdelphi.com/forums/showthread.php?t=41629)

Team905Animator 11-01-2006 17:16

IFI Loader Error
 
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

Re: IFI Loader Error
 
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

Re: IFI Loader Error
 
Quote:

Originally Posted by Mike
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

Re: IFI Loader Error
 
Quote:

Originally Posted by Team905Animator
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

Re: IFI Loader Error
 
Quote:

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

Re: IFI Loader Error
 
Did you try reinstalling IFI Loader? Maybe you're missing some file in the installation.

Team905Animator 12-01-2006 22:40

Re: IFI Loader Error
 
Quote:

Originally Posted by dhoizner
Did you try reinstalling IFI Loader? Maybe you're missing some file in the installation.

Reinstalling fixed it, thanks.


All times are GMT -5. The time now is 17:05.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi