PDA

View Full Version : FS2Phidet RunTime Error 11 (Division by Zero)



Peter Nielsen
03-28-2011, 07:48 AM
Hi

over the weekend I was having some trouble with the Spoiler handle when suddenly i got a run time error 11, Division by zero statement

since then FS2Phidget refuses to run, im using the older 4 version.

I have looked into all the various ini/cfg files and looked at all the SMIN and SMAX entries and they all look ok to me.

Any hints, except deleting it all and reconfiguring from scratch?

Tks
Peter

CocnutAir
03-29-2011, 04:18 PM
Peter,
Division by zero is program error. Problem is on my side.
I would like to replicate error you are having.
Send me your relevant card and fsvariable file (just card giving error).
Send that to alan@coconutair.com
Regards,
Alan

CocnutAir
04-01-2011, 01:40 AM
Pieter,
I received files. You sent me everything. Which card gave you the division by zero error?
I noticed there was no log file. Looks like version 4.3.15. An old version.
Should have asked what version you were on.
You indicated you had re-installed software.
Were files you sent me from before or after re-install?
What version do you have installed now?
You indicated you are now having additional problems after install.
Regards,
Alan

CocnutAir
04-03-2011, 02:03 PM
Piter,
I found 2 division statements in code where I did not check the divisor for zero.
Thought I had them all. In any event, I have corrected those.
I am testing the new Analog Output cards for another user.
Will email version 4.3.37 to you.
Version will also go onto this site shortly.
Regards,
Alan