Indicator Light

Is it possible to add our own Indicators to the Indicator Lights section?

currently there are a wide variety of indicators under Add Gauge > Indicator > Indicator Light, but not everything id like, and as i understand I cant add to them?

can we be able to add to them?

Hello. I’ve encountered this problem and I don’t understand how to solve it. The range and average fuel consumption data in CAN are sent in a single byte (all 8 bits change every 1–6 seconds): 0x619: 00 00 00 XX 00 00 YY ZZ. Where 1: (00XX) the second and third bytes represent the range — 2 bytes. The ZZ byte changes in the same way and has the value A4 when “range” is displayed. 2: XX, the third byte is the average fuel consumption, and YY changes in the same way and is associated with fuel, and has a value of 40. 3: XX displays a value unknown to me when YY, ZZ = 00. How do I write all of this in CAN XML? Thank you.

The indicator light is basically just an image gauge with a preset grid image. You can make your own for that as well and adjust your inputs as needed

1 Like

This looks like a multiplexed CAN message: the same data bytes carry different values depending on the selector bytes. RealDash supports this using composite IDs.

First, check the byte numbering. RealDash offsets start at 0, so your example is:

Offset:  0  1  2  3  4  5  6  7
Data:   00 00 00 XX 00 00 YY ZZ

Here, XX is the fourth byte, at offset 3. Assuming range uses offsets 2–3, with the high byte first, try:

<?xml version="1.0" encoding="utf-8"?>
<RealDashCAN version="2">
  <frames>
    <!-- Range: ZZ = 0xA4 -->
    <frame id="0x619:0xA4,7,1">
      <value name="Range raw"
             offset="2" length="2" endianness="big"/>
    </frame>

    <!-- Average consumption: YY = 0x40 -->
    <frame id="0x619:0x40,6,1">
      <value name="Average consumption raw"
             offset="3" length="1"/>
    </frame>
  </frames>
</RealDashCAN>

These create inputs under ECU Specific. Each updates only when its selector matches; frames where YY and ZZ are both zero are ignored.

The values are initially raw. Once you establish the scaling, add a conversion. For example, conversion="V/10" only if the recorded value is ten times the displayed consumption.

1 Like

I know this, most of my indicators on the dash are image gauges. I just think the indicator function is much cleaner and it’s a shame we can’t just add to them (even if there were rules that they have to be certain ways) so they can be added from the indicator option rather than play around with an image.

I find it harder dealing with images than I do with indicator lights

You can create your own table of indicators that will cover your needs for them.

how do you mean?

i know you can create images, but the indicator lights function is way neater.

was just hoping we could put files in that folder even if there are certain rules we have to comply with

As discussed, the indicator gauge is just a convenience for creating an image gauge. After you have created a new gauge with Indicator option, it appears to the dash just as any image gauge.

If indicator gauge does not contain the exact image you want it to show, you need to provide your own custom image file and replace it into the indicator/image gauge.