I found it. This is another bug, the enum overrides the text gauge internal number-to-gear conversion. I will post pre-release2 soon for testing.
Try the pre-release 2:
RealDash 2.4.8 PRERELEASE - General / Announcements and updates - RealDash Forum
Thank you
- XML enum attribute value ‘_’ (underscore) can be used to discard the value completely.
I validate the correction, Neutral now works correctly.
I have a supplementary question: I have a state that is between 2 gear ratios and that materializes for the value 15. In my “enum” I had indicated a dash but it seems to materialize on the display as N (probably considered as a 0 value).
Is there a numerical value that indicates a dash for Gear?
No there is not. Could it be that gear value flashes quickly to 0 before changing to 15?
No, it indicates either the gear engaged or the value 15 between gears.
Hexa values :
1=1st, 2=N, 4=2nd, 7=3rd, 8=4th, B=5th, D=6th, F=In between Gears
Would it be possible for the gear indicator to display a dash for a value of 127, for example?
It should if you put that to enum, no?
In enum attribute you can also use # as any other value, so does #:_ work for you?
Not really, I’ve tried but it tells me it’s in a gear (the last one sent back) when it’s between 2 gears.
The “no gear engaged” information is important to me. On a motorcycle, gear shifting is sequential and it can happen that you’re between 2 gears. Not good…
I think I found this issue. The character ‘-’ is indeed interpreted as integer value of -0. Will fix for next release.
Please try pre-release 3:
RealDash 2.4.8 PRERELEASE - General / Announcements and updates - RealDash Forum
Hi,
Sorry I’m back in the north (Belgium) for 2 weeks. The bike is 1000km away so unfortunately I won’t be able to test and validate your corrections.
I’ll get back to you after the 28th even if it might be a bit too late.
Never too late, appreciate your help.