hi all,
i am in the process of creating an ADU page. I want to add an old style odometer to this page wich looks like an old ‘‘rolling’’ numbers setup.
for this i want the display to show at (for example) 999kms driven, 000999km.
after a few tries in the software i came up with the idea of doing this with custom tables from 0-9 to make each decimal show a single number from 0-9.
however, when trying to set up tables, it seems the software gets bugged and shows random odometer numbers in the table that i cant change.
does anybody know how to fix this or is there maybe another method?
thanks in advance!
this is the setup screen for when i try to set up the table.
Yes, there is a problem with this table. Generally, adu.odometer is a 32-bit channel with 3 decimal places. The maximum value for channels accepted by the table is 16-bit, so effectively in the adu.odometer case the maximum value is something about 65 kilometers.
Generally, there is something that needs to be changed so that you get feedback from the UI that you can’t set a number higher than possible. Currently, there is no such feedback, which can be confusing.
However, what you want to achieve can be done with the current implementation. In the attachment you have 2 examples with 2 different ways; both give the same results.
odometerWithZeroes.adu (7.3 KB)
thank you! bot that file is still not working for me.
Yep, to get this to work, you need a connected ADU. All calculations are performed on the ADU device, not on the client side.
clear, thank you! will try it next week.