SD card logging AFR's are all .3

For discussion of Phil Tobin's Tuner Studio software (Only about the tuning software itself, not about how to tune or firmware features)

Moderator: LT401Vette

Post Reply
TheSilverBuick
Experienced MS/Extra'er
Posts: 357
Joined: Thu Feb 02, 2012 9:08 am

SD card logging AFR's are all .3

Post by TheSilverBuick »

I finally wired the datalogging switch input in and was doing some datalogging of today's drive where it runs rich climbing hills and when I finally got to my destination to download the logs to do some corrections all the AFR's were simply .3. I had tuner studio open during the logging (my LCD cluster) and the O2 sensor was reading normally and cleanly during these logging sessions. Is there a setting I missed in the set up? I bug that was reported and I missed?

I'm running the 1.3 Alpha 5 code. I trimmed the log down to make the file size cap, but it's enough to see what's going on with the AFR. The VE table is a tad funky at the moment because I was trying to track down my pig rich climbing hills problem (plus I wouldn't exactly call myself a pro tuner :( )
"Hey, at least the Skylark proves that even a messy hack can patch together a reliable EFI system. I can't think of a time the MegaSquirt has left me stranded since installation ~100,000 miles ago."

Drag Week 2011, 2012 & 2015. - BB N/A - 1977 Skylark w/Buick 455 EFI and TKO-600!
jsmcortina
Site Admin
Posts: 39611
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: SD card logging AFR's are all .3

Post by jsmcortina »

I've seen something similar to this a long while ago when I tried to add too many fields to the SDcard dataset. Moving to TS sub-section in case Phil has any ideas.

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".
LT401Vette
Super MS/Extra'er
Posts: 12729
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: SD card logging AFR's are all .3

Post by LT401Vette »

We did have something similar some time back that was related to the max record size being set 1 byte too long and the last byte getting stomped by EOF marker.
But that is correct in the current ini's and looking at your msq it looks like you didn't have full field set, only 42 bytes getting logged.

Do you have the MS3 file that came from?
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
TheSilverBuick
Experienced MS/Extra'er
Posts: 357
Joined: Thu Feb 02, 2012 9:08 am

Re: SD card logging AFR's are all .3

Post by TheSilverBuick »

MS3 file? The s19 file?

(Sorry for the delay, my car broke something in the clutch set shortly after this post and I ditched the car in Denver to spectate Drag Week. Picking the car back up in a week or two, but I have my laptop and files with me).
"Hey, at least the Skylark proves that even a messy hack can patch together a reliable EFI system. I can't think of a time the MegaSquirt has left me stranded since installation ~100,000 miles ago."

Drag Week 2011, 2012 & 2015. - BB N/A - 1977 Skylark w/Buick 455 EFI and TKO-600!
LT401Vette
Super MS/Extra'er
Posts: 12729
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: SD card logging AFR's are all .3

Post by LT401Vette »

The raw .MS3 file is on the SD card before TS transforms it into a msl.
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
TheSilverBuick
Experienced MS/Extra'er
Posts: 357
Joined: Thu Feb 02, 2012 9:08 am

Re: SD card logging AFR's are all .3

Post by TheSilverBuick »

Ah, okay. My LOG0004.MS3 file was just over the 716kb limit, but this LOG0007.MS3 taken the same day has the same issue.
"Hey, at least the Skylark proves that even a messy hack can patch together a reliable EFI system. I can't think of a time the MegaSquirt has left me stranded since installation ~100,000 miles ago."

Drag Week 2011, 2012 & 2015. - BB N/A - 1977 Skylark w/Buick 455 EFI and TKO-600!
LT401Vette
Super MS/Extra'er
Posts: 12729
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: SD card logging AFR's are all .3

Post by LT401Vette »

It seems the raw data in that MS3 file is x03 the whole way through, that would translate to 0.3:1.

So it looks like the problem isn't on the TS side.
The AFR1 channel is getting logged to offset 40 of a 56 byte block, so it shouldn't be running out of space.

I take it AFR 1 is reading fine on the gauge and normal data log?
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
TheSilverBuick
Experienced MS/Extra'er
Posts: 357
Joined: Thu Feb 02, 2012 9:08 am

Re: SD card logging AFR's are all .3

Post by TheSilverBuick »

Correct. I have the digital dash going and have done the laptop logging and both read normally for AFR1 (per the output channel setting of the gauge in Tuner Studio).

I guess that begs the question, is it possible since I have a computer linked up to the MegaSquirt and running Tuner Studio at the same time I'm SD Card logging that it's creating an issue?
"Hey, at least the Skylark proves that even a messy hack can patch together a reliable EFI system. I can't think of a time the MegaSquirt has left me stranded since installation ~100,000 miles ago."

Drag Week 2011, 2012 & 2015. - BB N/A - 1977 Skylark w/Buick 455 EFI and TKO-600!
jsmcortina
Site Admin
Posts: 39611
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: SD card logging AFR's are all .3

Post by jsmcortina »

TheSilverBuick wrote:I guess that begs the question, is it possible since I have a computer linked up to the MegaSquirt and running Tuner Studio at the same time I'm SD Card logging that it's creating an issue?
That should be fine. I do that too.

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".
TheSilverBuick
Experienced MS/Extra'er
Posts: 357
Joined: Thu Feb 02, 2012 9:08 am

Re: SD card logging AFR's are all .3

Post by TheSilverBuick »

Okay.

When I get the car home (in a week or two) I can play with/test it some more. As of right now all my files are uploaded in this thread. I'll be open to suggestions. I might try a firmware change as a test then.
"Hey, at least the Skylark proves that even a messy hack can patch together a reliable EFI system. I can't think of a time the MegaSquirt has left me stranded since installation ~100,000 miles ago."

Drag Week 2011, 2012 & 2015. - BB N/A - 1977 Skylark w/Buick 455 EFI and TKO-600!
contraption22
MS/Extra Newbie
Posts: 6
Joined: Mon Jul 10, 2017 5:47 am

Re: SD card logging AFR's are all .3

Post by contraption22 »

Good morning.
Sorry to resurrect an old thread, but I am having this exact same issue. Was yours ever resolved?

Thank you,

Mike
Turbo nut
Experienced MS/Extra'er
Posts: 165
Joined: Wed Mar 29, 2006 12:00 am

Re: SD card logging AFR's are all .3

Post by Turbo nut »

I know this is an old thread but I also am having this issue. What was the fix?
1982 porsche 930
jsmcortina
Site Admin
Posts: 39611
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: SD card logging AFR's are all .3

Post by jsmcortina »

Turbo nut wrote:I know this is an old thread but I also am having this issue. What was the fix?
An important part of the fix was:
:msq:
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".
Turbo nut
Experienced MS/Extra'er
Posts: 165
Joined: Wed Mar 29, 2006 12:00 am

Re: SD card logging AFR's are all .3

Post by Turbo nut »

2020-04-06_14.41.49.msq
(273.31 KiB) Downloaded 34 times
Here is the msq. it is a rough tune just getting sorted out. Datalog is to large I will have to cut it down. Ill post it shortly.
1982 porsche 930
Turbo nut
Experienced MS/Extra'er
Posts: 165
Joined: Wed Mar 29, 2006 12:00 am

Re: SD card logging AFR's are all .3

Post by Turbo nut »

2020-04-05_19_modified.msl
(218.05 KiB) Downloaded 34 times
Short datalog.
1982 porsche 930
LT401Vette
Super MS/Extra'er
Posts: 12729
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: SD card logging AFR's are all .3

Post by LT401Vette »

Generally the fix for this is to go into the SD Logging dialog, remove a Field, the re-add it.
That will fix your SD logs going forward.
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
shiftin04
Experienced MS/Extra'er
Posts: 326
Joined: Sat Nov 02, 2019 7:32 pm

Re: SD card logging AFR's are all .3

Post by shiftin04 »

LT401Vette wrote:Generally the fix for this is to go into the SD Logging dialog, remove a Field, the re-add it.
That will fix your SD logs going forward.
That explains why mine started working all of a sudden. I accidentally deleted the AFR1 and replaced it and after that the A/F started working correctly.
2004 Cobra, MS3PNP, flex fuel, knock sensor, Whipple, etc.
AKA: 01yellerCobra
Turbo nut
Experienced MS/Extra'er
Posts: 165
Joined: Wed Mar 29, 2006 12:00 am

Re: SD card logging AFR's are all .3

Post by Turbo nut »

Thank you that fixed it for me also.
1982 porsche 930
Post Reply