INI Fix for Flex Blend and Ignition on separate curve

Testing and development of Megasquirt 3

Moderators: jsmcortina, muythaibxr

Post Reply
KeithBoden
MS/Extra Newbie
Posts: 33
Joined: Tue Oct 11, 2016 2:22 pm

INI Fix for Flex Blend and Ignition on separate curve

Post by KeithBoden »

For a flex fuel setup, I wanted to have the option of using alternate warmup, afterstart, cranking, overboost, etc. based on the Blend Curve 8. I also wanted to do fuel and ignition table blending, but with Blend Curve 4 for the ignition so it can come in at a different rate than the fuel related alternate tables. I set the following:
  • Dual Fuel Enable: On
  • Mode: Flex blend
  • Alt. Fuel Tables: On
  • Alt. Spark Tables: Off
  • Spark Table Switching: On
  • Switch Source: Hardware
  • Input Pin: Blend Curve (4)
This works in practice and according to calc_advance(): Ignition Table 3 is being properly blended in via curve 4.

However, Ignition Table 3 (and 4 if the 2nd ignition algorithm is enabled) appears grayed out in the menu. I suggest the following change to the ini file:
Current ini (1.4 and 1.5)

Code: Select all

subMenu = ignitionTbl3,     "Ignition Table 3", 0, { (!dualfuel_sw_on && f5_0_tss) || (dualfuel_sw_on && dualfuel_sw_spk) }
subMenu = ignitionTbl4,     "Ignition Table 4", 0, { (IgnAlgorithm2 !=0) && ((!dualfuel_sw_on && f5_0_tss) || (dualfuel_sw_on && dualfuel_sw_spk)) }
Suggested

Code: Select all

subMenu = ignitionTbl3,     "Ignition Table 3", 0, { (!(dualfuel_sw_on && dualfuel_sw_spk) && f5_0_tss) || (dualfuel_sw_on && dualfuel_sw_spk) }
subMenu = ignitionTbl4,     "Ignition Table 4", 0, { (IgnAlgorithm2 !=0) && ((!(dualfuel_sw_on && dualfuel_sw_spk) && f5_0_tss) || (dualfuel_sw_on && dualfuel_sw_spk)) }
Camaro, Mark IV aluminum big block Chevy, 8.8l, Procharger F1-R @ 12psi, MS3Pro
jsmcortina
Site Admin
Posts: 39619
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: INI Fix for Flex Blend and Ignition on separate curve

Post by jsmcortina »

Was this just the 3D tables? The 2D tables look to have greying clauses that should work now?

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
jsmcortina
Site Admin
Posts: 39619
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: INI Fix for Flex Blend and Ignition on separate curve

Post by jsmcortina »

I checked and it looks like this has already been resolved in the recent pre-1.5.1 betas.

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
Post Reply