Hello mezz64!
Tried your latest version
Now works in RoadRunner (Doesn't throw error 5). But MPG is still zero
Even while in moving (VSS not zero). see screenshot
I have tried your plugin and it is working for the most part, but it is screwing up the indicator of other plugins. I think the part with the indicator return is not right.
Hello mezz64!
Tried your latest version
Now works in RoadRunner (Doesn't throw error 5). But MPG is still zero
Even while in moving (VSS not zero). see screenshot
Indicator code is as follows, I thought I updated it to comply with the new rules. Is something not done correctly?
NiMar, you are using the Metric switch right? I'll run some tests with those values today and see if I can figure out the problem.Code:Public Function ReturnIndicatorEx(IND As String) As String 'Default (No Action) ReturnIndicatorEx = "" Select Case LCase(IND) Case "obd_conn" ReturnIndicatorEx = frmOBD.obd_connect End Select End Function
I've tried both metric and not metric - MPG is still zero
Check that you haven't got a ReturnIndicator routine returning anything other than a "" as well
No other ReturnIndicator routines are present, only other indicator routine is the click one and it's empty.
NiMar, I wonder if it has something to do with your use of the "," instead of the "."? I'm not sure if that impacts the calculations or just the display. I'll look into it and see what I can find out.Code:Public Sub IndicatorClick(IND As String) 'Nothing End Sub
Oh maybe.
here's my obdmpg.ini
[COMMUNICATION]
COM=2
[VEHICLE]
MAF=FALSE
LITERS=2.5
VE=75
TANK=60
[AVERAGE]
NUM=1
AVG=0
DST=0
GAL=0
ADJ=1
[OPTIONS]
ExtraOBD=FALSE
METRIC=TRUE
In Windows Russian Regional settings the separator is ","
Should i write LITERS=2,5?
Still not sure on the , or . thing, but in any case there are some serious miscalculations in the metric values at the moment. I'll try to get a fixed and tested version posted as soon as possible, likely won't be earlier than mid-week though I'm kinda busy mon-tues.
I haven't forgotten about this, just haven't fixed everything yet. I realized a good portion of the code was pretty inefficient and the fuel calculations weren't being done correctly so I'm doing a significant re-write.
Should have something fresh up by the end of the weekend. I might even include a little flash gauge sample.
Bookmarks