# Gear indicator

**URL:** <https://forum.realdash.net/t/gear-indicator/966>\
**Category:** Help, tips and tricks\
**Created:** [April 13, 2021, 2:01pm UTC](https://forum.realdash.net/t/gear-indicator/966 "2021-04-13T14:01:14Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![dub19621](https://forum.realdash.net/letter_avatar_proxy/v4/letter/d/6bbea6/32.png) [@dub19621](https://forum.realdash.net/u/dub19621)\
**Post date:** [April 13, 2021, 2:01pm UTC](https://forum.realdash.net/t/gear-indicator/966/1 "2021-04-13T14:01:14Z")

</div>

Hi. Why does the demo recording not show the gear indicator, although it is displayed on the panel when driving? There is a sensor record in the log.  
 ![IMG_20210413_165114.jpg](https://forum.realdash.net/uploads/default/original/1X/b5227bee3fb4b36ceb42f7e801612437e4f719ab.jpeg)  
 ![IMG_20210413_165407.jpg](https://forum.realdash.net/uploads/default/original/1X/cc532c4836c6304ced6a47293b5fc182f668f884.jpeg)

---

<div class="post-metadata">

**Author:** ![realdashdev](https://forum.realdash.net/user_avatar/forum.realdash.net/realdashdev/32/6_2.png) [@realdashdev](https://forum.realdash.net/u/realdashdev)\
**Post date:** [April 14, 2021, 4:34am UTC](https://forum.realdash.net/t/gear-indicator/966/2 "2021-04-14T04:34:55Z")

</div>

> [@](#):
>
> Hi. Why does the demo recording not show the gear indicator, although it is displayed on the panel when driving?

Assuming ‘demo recording’ means log file playback? Have you included the gear indicator into the log file values? Attach your log file and I can take a look.

---

<div class="post-metadata">

**Author:** ![dub19621](https://forum.realdash.net/letter_avatar_proxy/v4/letter/d/6bbea6/32.png) [@dub19621](https://forum.realdash.net/u/dub19621)\
**Post date:** [April 14, 2021, 7:27am UTC](https://forum.realdash.net/t/gear-indicator/966/3 "2021-04-14T07:27:27Z")

</div>

The record is enabled, I view it through the XLS tables.  
[https://drive.google.com/file/d/1HK5NjiyGPaHEI6e2wXR4zFCuet6981uN/view?usp=drivesdk](https://drive.google.com/file/d/1HK5NjiyGPaHEI6e2wXR4zFCuet6981uN/view?usp=drivesdk)  
I haven’t looked at this log yet, but there was a transfer record in the others.  
And yet, when you turn off the ignition, the indicator shows “err”.  
 ![IMG_20210414_103144.jpg](https://forum.realdash.net/uploads/default/original/1X/cb26219def076c670c9224fc59c50acda4bf7a2e.jpeg)

---

<div class="post-metadata">

**Author:** ![realdashdev](https://forum.realdash.net/user_avatar/forum.realdash.net/realdashdev/32/6_2.png) [@realdashdev](https://forum.realdash.net/u/realdashdev)\
**Post date:** [April 14, 2021, 7:29am UTC](https://forum.realdash.net/t/gear-indicator/966/4 "2021-04-14T07:29:03Z")

</div>

The value of ‘err’ probably comes from your custom XML file, when value in enum attribute is out of range.

Attach your log file here, or send it via email as your Google drive is asking for a password.

---

<div class="post-metadata">

**Author:** ![realdashdev](https://forum.realdash.net/user_avatar/forum.realdash.net/realdashdev/32/6_2.png) [@realdashdev](https://forum.realdash.net/u/realdashdev)\
**Post date:** [April 20, 2021, 7:15am UTC](https://forum.realdash.net/t/gear-indicator/966/5 "2021-04-20T07:15:37Z")

</div>

I found this problem. The Gear is stored in datalog file as text instead of numeric value. Trying to read it on datalog playback causes value to be always parsed as 0. I will try to do something about this.

Another good thing about this test is that your datalog files are quite big (~38Mb). I was able to optimize the log file reading to make it quite a bit faster on large logs.

---

<div class="post-metadata">

**Author:** ![dub19621](https://forum.realdash.net/letter_avatar_proxy/v4/letter/d/6bbea6/32.png) [@dub19621](https://forum.realdash.net/u/dub19621)\
**Post date:** [April 20, 2021, 1:08pm UTC](https://forum.realdash.net/t/gear-indicator/966/6 "2021-04-20T13:08:14Z")

</div>

> [@](#):
>
> I found this problem. The Gear is stored in datalog file as text instead of numeric value. Trying to read it on datalog playback causes value to be always parsed as 0. I will try to do something about this.
> 
> Another good thing about this test is that your datalog files are quite big (~38Mb). I was able to optimize the log file reading to make it quite a bit faster on large logs.

Thanks. There don’t seem to be any problems with the speed of reading the log, but optimization is always good, I’m waiting.

---

<div class="post-metadata">

**Author:** ![realdashdev](https://forum.realdash.net/user_avatar/forum.realdash.net/realdashdev/32/6_2.png) [@realdashdev](https://forum.realdash.net/u/realdashdev)\
**Post date:** [April 21, 2021, 11:24am UTC](https://forum.realdash.net/t/gear-indicator/966/7 "2021-04-21T11:24:16Z")

</div>

Fix is now in 1.9.4-beta1.

---

<div class="post-metadata">

**Author:** ![dub19621](https://forum.realdash.net/letter_avatar_proxy/v4/letter/d/6bbea6/32.png) [@dub19621](https://forum.realdash.net/u/dub19621)\
**Post date:** [April 21, 2021, 11:28am UTC](https://forum.realdash.net/t/gear-indicator/966/8 "2021-04-21T11:28:39Z")

</div>

> [@](#):
>
> Fix is now in 1.9.4-beta1.

It worked

 ![Screenshot_2021-04-21-14-21-41-628_com.napko.RealDash.png](https://forum.realdash.net/uploads/default/original/1X/3db5d74a40a1be744184c501ad461d20d9c08879.png)

---

<div class="post-metadata">

**Author:** ![dub19621](https://forum.realdash.net/letter_avatar_proxy/v4/letter/d/6bbea6/32.png) [@dub19621](https://forum.realdash.net/u/dub19621)\
**Post date:** [April 23, 2021, 1:28pm UTC](https://forum.realdash.net/t/gear-indicator/966/9 "2021-04-23T13:28:22Z")

</div>

> [@](#):
>
> Fix is now in 1.9.4-beta1.

There are only P, N, R, D. In manual transmission mode, 1, 2, 3, 4 are not displayed, always D. The log has a numeric and alphabetic entry.

---

<div class="post-metadata">

**Author:** ![realdashdev](https://forum.realdash.net/user_avatar/forum.realdash.net/realdashdev/32/6_2.png) [@realdashdev](https://forum.realdash.net/u/realdashdev)\
**Post date:** [April 23, 2021, 3:01pm UTC](https://forum.realdash.net/t/gear-indicator/966/10 "2021-04-23T15:01:18Z")

</div>

Yes, found it and fixed for next release.
