Page 1 of 1

Display Calculated Channel?

PostPosted: Fri May 26, 2023 9:48 am
by hamer
Not sure this is the right forum, feel free to move.

I'd like to display a calculated channel on the dash during vehicle charging. Basically taking two vehicle CAN channels and multiplying them. Is that possible? I can't seem to find a way to do it.

Thanks,

Re: Display Calculated Channel?

PostPosted: Fri May 26, 2023 10:10 am
by David Ferguson
This will depend on the dash you are using, and the options enabled.

Easy way, C185 / C187 - Use the Calculations->Channel Maths -- requires the Advanced Functions option. More complicated functions are supported using Calculations0>Advanced Maths...

Work-around for C125 / C127 / C1212 -- use a 3D table with your two channel values as the axis and the output as the result of the calculation. The software will interpolate values in between the axis breakpoints-- this can deliver surprisingly good results. It is often used to calculate brake balance where the math is Balance = FrontPress / (Front + Rear).

Re: Display Calculated Channel?

PostPosted: Wed May 31, 2023 2:42 am
by hamer
Thanks for the help David.

I think I have it mostly figured out, although I've never used the 3D table before and I'm not quite getting the right output. I'm just trying to multiply pack voltage by current to get kW during charging. The output is coming out off by a strange factor.

Any more insight?

Re: Display Calculated Channel?

PostPosted: Wed May 31, 2023 3:48 am
by David Ferguson
Just a guess since you haven't provided any details. Perhaps you are using a channel with a different base units than the display, and your table output needs to be in the correct base units?

Did you rename a GP channel?
Have you looked at the channel properties using Tools->Edit Channels... in the C125 Dash Manager?

Upload your configuration (or a partial with all the secret bits trimmed out), and we can probably provide more help.