syntax error new calculated fields

Questions specific to Megalogviewer

Moderator: LT401Vette

Post Reply
kaeman
Master MS/Extra'er
Posts: 643
Joined: Sun Nov 06, 2005 12:31 am
Location: NORTHERN CALIFORNIA

syntax error new calculated fields

Post by kaeman »

I upgraded to the Megalog Viewer Heavy Duty the other day and am trying to tune my warmup enrichment using scatterplots and the information from the 2013 megameet scatterplot tuning pdf.

I have been trying to add a custom field for the desired warmup as show in the 2013 megameet tuning with scatter plots pdf, I have copied the formula into the custom field formula box every way I could think of and keep getting a syntax error. the original formula is using, Gwarm, Gego, for field names, my problem seems to be from the fact that I cant figure out what my field names should be, megasquirt3x using 1.4.1 firmware and dual wide band o2 sensors, my list of fields in the drop down menus for scatterplots don't have the gwarm or gego fields, but I have AFR, AFR2, Fuel: Warmup Cor, EGO cor 1, AFR 1 Target as fields in the drop down lists. The formula I am trying set up is on page 14
Desired Warmup = [Gwarm] * (SmoothBasic([Gego], 20)/100) * (SmoothBasic([AFR], 20)/[targetAFR])
even typing it in exactly like this I am getting syntax error.
I was able to type in the afr smoothing and afr error smoothing functions and get them to work.
64 el camino, 383 SBC, 11.7 to1 CR, accufab tb/rhs intake, 44lb injectors, trick flow heads, xr292r solid roller cam, belt drive camshaft, dry sump oil system, 2400 stall, turbo 350, spooled 9 inch, strange axles, 3.89 gears, dual wideband, full sequential fuel/cop, MS3x using 1.4.1 code.
LT401Vette
Super MS/Extra'er
Posts: 12729
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: syntax error new calculated fields

Post by LT401Vette »

Some of those data log field names vary with firmware.
For 1.4 MS3 firmware that should look more like this:
Desired Warmup =
[Fuel: Warmup cor] * (SmoothBasic([EGO cor1], 20)/100) * (SmoothBasic([AFR], 20)/[AFR 1 Target])
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
kaeman
Master MS/Extra'er
Posts: 643
Joined: Sun Nov 06, 2005 12:31 am
Location: NORTHERN CALIFORNIA

Re: syntax error new calculated fields

Post by kaeman »

thank you. I figured it must be something like that. where can I find an up to date correct naming of the datalog fields? I was using the online manuals and tunerstudio guides but got confused when they had different names of some fields.
64 el camino, 383 SBC, 11.7 to1 CR, accufab tb/rhs intake, 44lb injectors, trick flow heads, xr292r solid roller cam, belt drive camshaft, dry sump oil system, 2400 stall, turbo 350, spooled 9 inch, strange axles, 3.89 gears, dual wideband, full sequential fuel/cop, MS3x using 1.4.1 code.
slow_hemi6
Super MS/Extra'er
Posts: 4122
Joined: Fri May 07, 2004 3:33 am
Location: Australia

Re: syntax error new calculated fields

Post by slow_hemi6 »

Tuner Studio > Data Logging > Logging Profiles. On the right you should be able to scroll through all the fields.
Find the Manuals up top under Quick links: Manuals. :RTFM:
Cheers Luke
LT401Vette
Super MS/Extra'er
Posts: 12729
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: syntax error new calculated fields

Post by LT401Vette »

kaeman wrote:thank you. I figured it must be something like that. where can I find an up to date correct naming of the datalog fields? I was using the online manuals and tunerstudio guides but got confused when they had different names of some fields.
They are also in the TunerStudio Lite manual that matches your firmware.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
kaeman
Master MS/Extra'er
Posts: 643
Joined: Sun Nov 06, 2005 12:31 am
Location: NORTHERN CALIFORNIA

Re: syntax error new calculated fields

Post by kaeman »

Thanks.... the formula is working... I am looking forward to getting the engine tuned up.
64 el camino, 383 SBC, 11.7 to1 CR, accufab tb/rhs intake, 44lb injectors, trick flow heads, xr292r solid roller cam, belt drive camshaft, dry sump oil system, 2400 stall, turbo 350, spooled 9 inch, strange axles, 3.89 gears, dual wideband, full sequential fuel/cop, MS3x using 1.4.1 code.
Post Reply