MSLogger 4.1 preview ** SCREENSHOTS **

For discussion of other tuning and logging softwares

Moderators: daxtojeiro, muythaibxr, jsmcortina

MSLogger 4.1 preview ** SCREENSHOTS **

Postby 93white3400z » Tue Jun 19, 2012 7:15 pm

Hi everyone,

Last week, I've forked MSLogger from Dave on github. I've been pretty actively working on it and improved a few things. From the solid work Dave have made, I fixed MS3 implementation (still have trouble loading constants page, need info on that), fixed a bunch of crashs, some code cleanup/commenting, made the gauges a bit more pretty and fixed a text scaling issue with them, added a super basic log viewer (to be improved), added menu icons, etc.

I still have to talk to Dave about officially releasing a new version but I guess I can send apk file if anybody want to try it.

Code is available at https://github.com/scudderfish/MSLoggerBase for Phil... erm I mean anybody to look at :lol:. Feel free to fork it and help us make it better!

Feedback welcome!

Image
Image
Image
MSDroid (Android App) for MegaSquirt available for free!
Image

Like MSDroid on Facebook
-----------------------------------------
1993 Chevrolet Cavalier Z24
3400 Turbocharged Intercooled
MS3 v3.57+MS3X
93white3400z
Master MS/Extra'er
 
Posts: 508
Joined: Mon Aug 25, 2008 11:37 pm
Location: Montreal, Quebec

MSLogger 4.1 preview ** SCREENSHOTS **

Postby gslender » Wed Jun 20, 2012 5:40 am

Cool. Send me the APK if you will.... Got a link I can get it from?

G
Mazda MX5 91 NA6 LE | M45 Mini SC | 4-2-1 Extractors & HI-Flow Exhaust | HSD HR Coilovers | MS2 DIYPNP Full Seq running ms2extra pre3.3alpha5 gslender v2.8 | Toyota COP | RX8 425cc Inj | W2A Intercooled
User avatar
gslender
Super MS/Extra'er
 
Posts: 1014
Joined: Fri Sep 16, 2011 5:29 am
Location: Brisbane, Australia

Re: MSLogger 4.1 preview ** SCREENSHOTS **

Postby 93white3400z » Wed Jun 20, 2012 4:38 pm

Hi Grant,

I've uploaded an apk on github https://github.com/sebgiroux/MSLoggerBase/MSLogger4.1.apk/qr_code. I've just added support for your firmware (MS2Extra SerialGS26) because I suppose that's what you want to use. I have no MS2 so I cannot test, let me know if it doesn't work.
Last edited by 93white3400z on Mon Jul 02, 2012 11:11 am, edited 1 time in total.
MSDroid (Android App) for MegaSquirt available for free!
Image

Like MSDroid on Facebook
-----------------------------------------
1993 Chevrolet Cavalier Z24
3400 Turbocharged Intercooled
MS3 v3.57+MS3X
93white3400z
Master MS/Extra'er
 
Posts: 508
Joined: Mon Aug 25, 2008 11:37 pm
Location: Montreal, Quebec

Re: MSLogger 4.1 preview ** SCREENSHOTS **

Postby AdamR » Thu Jun 28, 2012 9:45 am

It isn't working for me. I am still using MS2/E ver 3.2.1. I will be upgrading soon, though. I will let you know then.
AdamR
Helpful MS/Extra'er
 
Posts: 69
Joined: Tue Dec 27, 2011 11:31 pm

Re: MSLogger 4.1 preview ** SCREENSHOTS **

Postby gslender » Thu Jun 28, 2012 2:34 pm

Didnt work for me too
Mazda MX5 91 NA6 LE | M45 Mini SC | 4-2-1 Extractors & HI-Flow Exhaust | HSD HR Coilovers | MS2 DIYPNP Full Seq running ms2extra pre3.3alpha5 gslender v2.8 | Toyota COP | RX8 425cc Inj | W2A Intercooled
User avatar
gslender
Super MS/Extra'er
 
Posts: 1014
Joined: Fri Sep 16, 2011 5:29 am
Location: Brisbane, Australia

Re: MSLogger 4.1 preview ** SCREENSHOTS **

Postby 93white3400z » Thu Jun 28, 2012 5:04 pm

You can download a new file here: https://github.com/sebgiroux/MSLoggerBa ... pk/qr_code Lots of improvements in the last week.

But guys, I will need more info then that to be able to help you. AdamR, I've just added 3.2.1 support (which is included in the file above). If you were getting an error about unsupported firmware, you can try again. If not, I've also modified the code to consolidate the app log into a single file so it's easy for you guys to send us the file to debug. Again, more info about whats going on is always welcome. If it's a crash, the debug log is where the stack trace would be and that would help a lot.

Me and Dave don't have an MS2 (he have an MS1 and I have an MS3) so more MS2 feedback would be welcome. I'm pretty sure it was working at some point so if we broke something, I guess we will be able to fix it pretty quick, with your help :)

Any person that is serious about wanting this app, we will try to do what we can to make it work for you. It already should work for any MS (once we had the support for your specific firmware, which take about 2 mins to do). If I could get a bunch of firmware ini, I could add support for all of them pretty quick actually.
MSDroid (Android App) for MegaSquirt available for free!
Image

Like MSDroid on Facebook
-----------------------------------------
1993 Chevrolet Cavalier Z24
3400 Turbocharged Intercooled
MS3 v3.57+MS3X
93white3400z
Master MS/Extra'er
 
Posts: 508
Joined: Mon Aug 25, 2008 11:37 pm
Location: Montreal, Quebec

Re: MSLogger 4.1 preview ** SCREENSHOTS **

Postby gslender » Thu Jun 28, 2012 6:38 pm

93white3400z wrote:Any person that is serious about wanting this app, we will try to do what we can to make it work for you. It already should work for any MS (once we had the support for your specific firmware, which take about 2 mins to do). If I could get a bunch of firmware ini, I could add support for all of them pretty quick actually.


Can you make it fall back to generic support of the nearest release it relates to (ie match the string based on the first N characters of the signature) - for me it just didn't provide much feedback anyway, it just tried to connect, and failed... I can't remember but it wasn't very informative as to what went wrong.

I'm a fairly good Java developer and if you send me build/environment setup instructions I have a MS2 & JimStim setup always connected to my Mac that I can use to report bugs etc >> gslender @ gmail dot com

G
Mazda MX5 91 NA6 LE | M45 Mini SC | 4-2-1 Extractors & HI-Flow Exhaust | HSD HR Coilovers | MS2 DIYPNP Full Seq running ms2extra pre3.3alpha5 gslender v2.8 | Toyota COP | RX8 425cc Inj | W2A Intercooled
User avatar
gslender
Super MS/Extra'er
 
Posts: 1014
Joined: Fri Sep 16, 2011 5:29 am
Location: Brisbane, Australia

Re: MSLogger 4.1 preview ** SCREENSHOTS **

Postby 93white3400z » Thu Jun 28, 2012 6:44 pm

I have thought about that and I think it would a great idea. For a readonly app like that, I think it's good enough. Worst case scenario, you won't get access to the latest gauge added in your newest release and that's about it. We can add a message that say something like: "We don't currently support your firmware MS2extra X.X.X, we will inform the developers about it and for now you can choose the closest firmware to yours in the list below: ...". I think I will indeed have to do that. I will email you the information about getting your development environment setup shortly!
MSDroid (Android App) for MegaSquirt available for free!
Image

Like MSDroid on Facebook
-----------------------------------------
1993 Chevrolet Cavalier Z24
3400 Turbocharged Intercooled
MS3 v3.57+MS3X
93white3400z
Master MS/Extra'er
 
Posts: 508
Joined: Mon Aug 25, 2008 11:37 pm
Location: Montreal, Quebec

Re: MSLogger 4.1 preview ** SCREENSHOTS **

Postby piledriver » Fri Jun 29, 2012 6:51 am

Just gave the latest apk a run, it d*** near worked on my piddly little HeroC running cyanogenmod.

It connects, properly IDs gslenders 2.6 firmware, loads 7 pages... then drops the connection.(but doesn't seem to realize it, still says connected)

That's further than it made it before with the original versions, I could never get a connect IIRC..
Always doing things the hard way, MS2 sequential w/ v1.01 mainboard, LS2 coils. 80 mile/day commuter status.
piledriver
Master MS/Extra'er
 
Posts: 706
Joined: Tue Oct 27, 2009 6:24 am

Re: MSLogger 4.1 preview ** SCREENSHOTS **

Postby 93white3400z » Fri Jun 29, 2012 3:43 pm

piledriver, I guess this is progress :D If you could make sure you're logging in debug (go into the app preferences and scroll to the bottom, click on logging level and make sure debug is checked), then you can send me that log and I should be able to help :)
MSDroid (Android App) for MegaSquirt available for free!
Image

Like MSDroid on Facebook
-----------------------------------------
1993 Chevrolet Cavalier Z24
3400 Turbocharged Intercooled
MS3 v3.57+MS3X
93white3400z
Master MS/Extra'er
 
Posts: 508
Joined: Mon Aug 25, 2008 11:37 pm
Location: Montreal, Quebec

Re: MSLogger 4.1 preview ** SCREENSHOTS **

Postby 93white3400z » Mon Jul 02, 2012 9:09 am

New version available at the same URL: https://github.com/sebgiroux/MSLoggerBase/MSLogger4.1.apk/qr_code

gslender's firmware should work now, thanks to piledriver for the help! We still get some feedback about clunky Bluetooth connect/reconnect/etc. We will work on this soon :)
MSDroid (Android App) for MegaSquirt available for free!
Image

Like MSDroid on Facebook
-----------------------------------------
1993 Chevrolet Cavalier Z24
3400 Turbocharged Intercooled
MS3 v3.57+MS3X
93white3400z
Master MS/Extra'er
 
Posts: 508
Joined: Mon Aug 25, 2008 11:37 pm
Location: Montreal, Quebec

Re: MSLogger 4.1 preview ** SCREENSHOTS **

Postby 93white3400z » Mon Jul 02, 2012 11:10 am

And I've just updated the apk again (same URL). The Bluetooth connect/reconnect should work much better. I had no problem with connect myself, but disconnect/reconnect was hit and miss (up to 1min reconnect). Now, it seems to be 100%. It might even help for initial connect for some people, who knows.
MSDroid (Android App) for MegaSquirt available for free!
Image

Like MSDroid on Facebook
-----------------------------------------
1993 Chevrolet Cavalier Z24
3400 Turbocharged Intercooled
MS3 v3.57+MS3X
93white3400z
Master MS/Extra'er
 
Posts: 508
Joined: Mon Aug 25, 2008 11:37 pm
Location: Montreal, Quebec

Re: MSLogger 4.1 preview ** SCREENSHOTS **

Postby piledriver » Mon Jul 02, 2012 5:51 pm

Once I turned the log level back to errors only, I'm getting 13.5-14.5 FPS~, which is same>better than SL with no gauges and ~as fast as my laptop with BT--- BT is the speed limit here.

Still had to run msdroid or SL first to init BT or it stalls loading page1, and it still thinks it's connected and fights being reset, but rock solid once running.

Will play again in AM, just about usable.
Always doing things the hard way, MS2 sequential w/ v1.01 mainboard, LS2 coils. 80 mile/day commuter status.
piledriver
Master MS/Extra'er
 
Posts: 706
Joined: Tue Oct 27, 2009 6:24 am

Re: MSLogger 4.1 preview ** SCREENSHOTS **

Postby 93white3400z » Mon Jul 02, 2012 6:13 pm

So sounds like we are making progress :D I don't see why running SL or msDroid before MSLogger would have any effect on BT tho. If you get to loading page 1, that mean the BT is already initialize and the signature from MS was received properly. If you reply here with an attached debug log (switch back to logging level verbose) of a connect attempt that get stuck to page 1, that would help a lot :)
MSDroid (Android App) for MegaSquirt available for free!
Image

Like MSDroid on Facebook
-----------------------------------------
1993 Chevrolet Cavalier Z24
3400 Turbocharged Intercooled
MS3 v3.57+MS3X
93white3400z
Master MS/Extra'er
 
Posts: 508
Joined: Mon Aug 25, 2008 11:37 pm
Location: Montreal, Quebec

Re: MSLogger 4.1 preview ** SCREENSHOTS **

Postby piledriver » Mon Jul 02, 2012 8:55 pm

Will do, as that's the "default" behavior.. :?
All the logs I have sent previously should show that.
Now just takes a bit of playing silly buggers to get it going, but once it does it seems to work very well.

Took a nice long log (~45 min driving to work) and it seems to have issues loading it in mslogger to view 9MB logs, but MLV seems to like it just fine, just had to turn off "fill time gaps" it sees every few seconds.

The .frd that also seems to get generated converts and views just fine as well.
(not really needed ?)

The .frd seems to have the units right, the .msl seems to have the temps in C.
Time intervals in the .frd also seems to be MUCH more consistent, solid 13.5+ FPS.
Always doing things the hard way, MS2 sequential w/ v1.01 mainboard, LS2 coils. 80 mile/day commuter status.
piledriver
Master MS/Extra'er
 
Posts: 706
Joined: Tue Oct 27, 2009 6:24 am

Re: MSLogger 4.1 preview ** SCREENSHOTS **

Postby 93white3400z » Tue Jul 03, 2012 3:53 pm

Thanks for the logs man, they are once again very helpful. I see a few issues just looking at them. You're also right about the .msl, I do see gaps sometime too, I will look into that. We should be able to resolve all those issues pretty soon, I will let you know once it's done :)
MSDroid (Android App) for MegaSquirt available for free!
Image

Like MSDroid on Facebook
-----------------------------------------
1993 Chevrolet Cavalier Z24
3400 Turbocharged Intercooled
MS3 v3.57+MS3X
93white3400z
Master MS/Extra'er
 
Posts: 508
Joined: Mon Aug 25, 2008 11:37 pm
Location: Montreal, Quebec

Re: MSLogger 4.1 preview ** SCREENSHOTS **

Postby 93white3400z » Tue Jul 03, 2012 7:38 pm

New version available at the same URL: https://github.com/sebgiroux/MSLoggerBa ... pk/qr_code

Here is the changelog:
- Try longer activation page delay to see if it help for some users
- Don't swallow exception in ECUFingerprint (would have been useful to have that exception in the log :|)
- logException now have same format as log in DebugLogManager
- Add a progressbar and time remaining to datalog viewer when loading a datalog
- Don't display first calculated RPS as .0

The first one is the main one to hopefully fix your page loading issue. I'm really not sure it will fix it but it's worth a try. Connection was waiting 50ms to get page response for your specific firmware, now it's at minimum 200ms for any firmware. I had that problem with getting the MS signature before... at 100ms timeout it was too fast (but only at reconnect, first connect was fine.... go figure :lol:) and at 200ms its working every time now. Just have to figure out the fudging factors like Dave would say :D

About the datalog temp units, I'm not 100% sure either but I think TS use the project configuration to rescale the temp. Is it possible that your MSLogger and TS are not configured with the same temp units ?

I've also added a progress bar and time remaining when loading a datalog so you have an idea of it will end before Christmas :P

And about the msl having random gap, I haven't figured that one out yet.

Again, thank you for taking the time testing this, it does help a lot!
MSDroid (Android App) for MegaSquirt available for free!
Image

Like MSDroid on Facebook
-----------------------------------------
1993 Chevrolet Cavalier Z24
3400 Turbocharged Intercooled
MS3 v3.57+MS3X
93white3400z
Master MS/Extra'er
 
Posts: 508
Joined: Mon Aug 25, 2008 11:37 pm
Location: Montreal, Quebec

Re: MSLogger 4.1 preview ** SCREENSHOTS **

Postby AdamR » Wed Jul 04, 2012 3:58 pm

I have gotten a connection a few times, but the gauges are static and it stays on the "loading page 1" dialog. I'm currently using 4.1 and MS2 3.2.1
AdamR
Helpful MS/Extra'er
 
Posts: 69
Joined: Tue Dec 27, 2011 11:31 pm

Re: MSLogger 4.1 preview ** SCREENSHOTS **

Postby 93white3400z » Wed Jul 04, 2012 8:04 pm

Seems like same MS2 issue. When did you download your copy ? Make sure you're using the latest version I uploaded last night.
MSDroid (Android App) for MegaSquirt available for free!
Image

Like MSDroid on Facebook
-----------------------------------------
1993 Chevrolet Cavalier Z24
3400 Turbocharged Intercooled
MS3 v3.57+MS3X
93white3400z
Master MS/Extra'er
 
Posts: 508
Joined: Mon Aug 25, 2008 11:37 pm
Location: Montreal, Quebec

Re: MSLogger 4.1 preview ** SCREENSHOTS **

Postby piledriver » Thu Jul 05, 2012 6:14 am

For giggles, run msdroid first, close it, then try mslogger.

That's the only way I've been able to get it going properly, and it appears to work GREAT as long as you don't shut it down.
Always doing things the hard way, MS2 sequential w/ v1.01 mainboard, LS2 coils. 80 mile/day commuter status.
piledriver
Master MS/Extra'er
 
Posts: 706
Joined: Tue Oct 27, 2009 6:24 am

Next

Return to Other tuning /logging software

Who is online

Users browsing this forum: No registered users and 1 guest