Any trick to get “Gear (Transmisson)” ID 170 to not flash 0 between gears. When I shift I get a really fast flash of 0 between gears.
So for example N to 1 or 1 to 2, I get a 0 before it displays the next gear, like 1/10 of a sec it flash’s 0
my xml file
<frame id="0x43f"><!-- SMG Gear -->
<value targetId="139" offset="1" length="0" enum="07:R,
06:N,
01:1,
02:2,
03:3,
04:4,
09:5,
170:6"></value>
</frame>
So my Can does momentary display a 0 so I guess that’s why, any way to exempt a digit from realdash?
Not currently, but I could extend the enum to have a value that ‘discards’ the value update?
Thanks for the reply not a big deal just a little glitch was curious if there was anything I could do.
A quick fix to make it little bit better would be handling 0 as a space character, so it would not flash 0 on the gear but empty instead?
Pretty sure I tried that and it wouldn’t accept a space
‘’
<value targetId="139" offset="1" length="0" enum="07:R,
00: ,
06:N,
01:1,
02:2,
03:3,
04:4,
09:5,
10:6"></value>
</frame>
Yes, I see. While enum does support space, you are writing directly to Transmission->Gear targetId, which has its own value-to-text system overriding the enum values.
Transmission->Gear converts numbers to text like:
-2 = P
-1 = R
-0.5 = D
0 = N
1 ... n = gear
So try:
<value targetId="139" offset="1" length="0" enum="7:-1,
0:0,
6:0,
1:1,
2:2,
3:3,
4:4,
9:5,
10:6"></value>