PDA

View Full Version : Odd FloatMath problem {Resolved}



crgwbr
04-30-2008, 12:32 AM
For some odd reason, the Prop hangs up on this line of code:



Setpoint := FM.FDiv(FM.FFloat(Dial_Pos), 10000.0)



I can't really figure out where the error is, but because of various indicators, I know it's this line. Its like the prop just stops executing code. Anyone have an idea?

Thanks,
Craig

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My system: 1.6 GHz AMD Turion64 X2, 4GB DDR2, 256MB ATI Radeon Graphics card, 15.4" Widescreen HD Screen

I have a duel boot of Ubuntu Linux and Windows Vista. Vista, because it came with the PC, Ubuntu because I like software that works.

"Failure is not an option -- it comes bundled with Windows."

Use The Best...
Linux for Servers
Mac for Graphics
Palm for Mobility
Windows for Solitaire

Post Edited (crgwbr) : 4/29/2008 6:16:53 PM GMT

crgwbr
04-30-2008, 01:08 AM
Nvm. I figured out that it was this object (http://obex.parallax.com/objects/202/) that was causing the issues. I changed it back to the FP object by Chip, and everything works.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My system: 1.6 GHz AMD Turion64 X2, 4GB DDR2, 256MB ATI Radeon Graphics card, 15.4" Widescreen HD Screen

I have a duel boot of Ubuntu Linux and Windows Vista. Vista, because it came with the PC, Ubuntu because I like software that works.

"Failure is not an option -- it comes bundled with Windows."

Use The Best...
Linux for Servers
Mac for Graphics
Palm for Mobility
Windows for Solitaire