Author Topic: How to create custom calculated channel in VT?  (Read 12904 times)

Offline GintsK

  • Hero Member
  • *****
  • Posts: 1257
  • BHP: 50
Re: How to create custom calculated channel in VT?
« Reply #15 on: October 23, 2013, 10:44:16 am »
I see ready to go solution: if it would be possible to add my new channel to that datalog part what converts to .csv.  - afterwards it is just matter of few clicks to get statistically calculated average.

I believe it about to add just few rows in some .ini file. But how and where?

Gints

Offline VEMS

  • Administrator
  • Sr. Member
  • *****
  • Posts: 487
  • BHP: 22
Re: How to create custom calculated channel in VT?
« Reply #16 on: October 23, 2013, 10:52:12 am »
Pointer: Search for "[Datalog]" in the ini which matches your firmware, e.g. for 1.2.11 firmware use Vemstune_Install_Dir/config/VemsTune-v3-1.2.11.ini

Regards, Dave

Offline gunni

  • Hero Member
  • *****
  • Posts: 1492
  • BHP: 37
Re: How to create custom calculated channel in VT?
« Reply #17 on: October 24, 2013, 12:33:30 am »
Thanks Dave.

I´ll see what I can make work tomorrow in terms of logging and custom math channels.

Any chances on implementing additional math functions? like filtering, integration over time, differentiation against time, previous value comparison
registry creating? Even if it´s only possible in Log viewer and not real time, more important that way anyway, especially with heavy math.

like

integral(channel_name) , and say you have roadspeed as the channel you get distance as the product, or if you have acceleration you get velocity and so on,

or

differentiate ( GPSspeed ) , gives you acceleration and so on .

Offline VEMS

  • Administrator
  • Sr. Member
  • *****
  • Posts: 487
  • BHP: 22
Re: How to create custom calculated channel in VT?
« Reply #18 on: October 24, 2013, 08:46:37 am »
Gunni, i understand your proposals seems like a nice addition. If you could add a proposal to wiki:

http://www.vems.hu/wiki/index.php?page=VemsTune/WishList

Then we can start with this if time/schedule and priority allows it,

Regards, Dave