Quote: Originally Posted by owenjh
I have an idea, if your using a com port use comfoolery and the port redirector and connect to it from your home PC if you have WiFi.
Well to be honest I have been sitting in my house at my laptop wi-fi-ing into the car and using it from their. Simialr thing really, but a pain to have your car running with no-one in it.
Quote: Originally Posted by owenjh
To resolve the divide by zero, try putting an if statement in - its probably because your speed is zero.
Nope as if speed is zero it doesn't try to calculate but the thing is it worked fine in the emulator.
Quote: Originally Posted by owenjh
How are you calculating your miles per gallon? When you finish it you should have an option for RPM's and have the user input how much gas there car uses at certain RPM's, or even better log the fuel (trim?) levels if its possible.
the code is in the program. It gives in instant MPG for any given moment. It would be possible to log RPM along with the MPG data, and the debug mode already logs fuel trim to the DB, I just want something working first!
Quote: Originally Posted by owenjh
Function Die(UserMessage As String, DebugMessage As String)
Any reason why this ends the program when it can't communicate?
it should always be communnicating and although there is a rally crap routine to reset it and try again if it loses communication, if it still has trouble I wanted it to just die and log the error. Once I get it working I need to get it to sort itself out on resume from standby, and find the PID for my ford's fuel level as the whole point of it to me is so I can see almost exactly how many miles are left in the tank, as well as when I'm being economical.