Author Topic: Creating a Curve Editor For Warmup IAC Steps  (Read 6581 times)

Offline Sprocket

  • Hero Member
  • *****
  • Posts: 867
  • BHP: 29
Creating a Curve Editor For Warmup IAC Steps
« on: October 25, 2008, 10:48:52 pm »
I had a thought, why is there no curve editor for the Warmup IAC steps, so I set about looking into the vems3.ini file, and this is what I came up with

Constants, add new line..... iac_ref_pos = array, U08, 97, [10], "step", 1.0, 0.0, 0.0, 255, 0

menu = "&Tuning", add a new line..... subMenu = WarmUpIAC, "Warmup Idle Air Steps"

CurveEditor, add new.....

[CurveEditor]
   curve = WarmUpIAC, "Warm up Idle Air Table"
   topicHelp   = "http://www.vems.co.uk"
   
#if CELSIUS
   columnLabel = "Coolant", "Steps"
   xAxis       = -40, 77, 8
#else
   columnLabel = "Coolant", "Steps"
   xAxis       = -40, 170, 8
#endif
   
   yAxis      = 0, 255, 10
   xBins       = warmup_clt_range
   yBins       = iac_ref_pos
   gauge    = lambdaGauge


Now all this seems to work so far, but the only thing I am unsure of is the value of 97 in the new 'Constants' line. All these numbers seem to be consecutive with the odd repeat, so i repeated this number from the line... iac_ref_pos0 = scalar, U08, 97,   "", 1.0, 0.0, 0.0, 255, 0 ...which is now below the new line. Is this something I need to change? what to? and how?

Also need to figure out a way to tune this to give the best results, I have a few ideas, i'll see how I get on this week ;D

Offline dnb

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 837
  • BHP: 19
Re: Creating a Curve Editor For Warmup IAC Steps
« Reply #1 on: October 25, 2008, 11:55:00 pm »
Sounds like a damn good idea to have this :)

Offline GintsK

  • Hero Member
  • *****
  • Posts: 1257
  • BHP: 50
Re: Creating a Curve Editor For Warmup IAC Steps
« Reply #2 on: October 26, 2008, 09:09:58 am »
Does not MT have limit of graphical editor window number?
In newest 1.1.43, where new AE implemented, WE graphical editor is dropped.

Offline Sprocket

  • Hero Member
  • *****
  • Posts: 867
  • BHP: 29
Re: Creating a Curve Editor For Warmup IAC Steps
« Reply #3 on: October 26, 2008, 01:09:38 pm »
My theory behind it is for first start up. The coolant bins are not linear, so if you use simple numbers, say steps of 10 or 20, it generates an odd shape curve for whatever is being tuned. The curve editor allows you to generate a linear, logarythmic or exponential curves irespective of the irregularities of the coolant bins, producing something that looks functional ;D whether its right is another matter. its just somewhere to start, which VEMS seems to lack a lot of, a starting point, there doest seem to be any defaults other than wideband. I've had firmware that has some one elses config in it :-\

I just needed something graphical to see how bumpy the curve was/ is.

Offline rob@vems.co.uk

  • Hero Member
  • *****
  • Posts: 3115
  • BHP: 49
    • VEMS Forum
Re: Creating a Curve Editor For Warmup IAC Steps
« Reply #4 on: October 26, 2008, 04:55:34 pm »
Its fairly easy to add extra graphical tables, just a bit of work in the ini file.
Have a look at the vemsv3.ini file in notepad and you'll see the relevant tables.