Pages: [1] 2
Author Topic: Gauges for ME7Logger  (Read 16676 times)
j2mc
Full Member
***

Karma: +15/-0
Offline Offline

Posts: 50


« on: September 05, 2012, 03:37:27 PM »

I showed a preview of this a while ago, but things came up and my car needed some work before I started tuning again...anyway my car is back in shape and I have a little time to tune again so I decided to work on these gauges again.

This is a separate program from my GUI for ME7Logger, and it can run with or without the GUI.

How to Use:
1. Put the executable in the root of your ME7Logger directory.  
2. Start logging with ME7Logger(or with the ME7LoggerGUI).
3. Open ME7Logger_Gauges
4. Choose your current log file
5. If new variables are detected, it will ask you set minimum and maximum values for each, if you don't want a gauge for a certain variable leave the minimum blank.  These settings are stored in a file called "gaugeconfig", if you need to change a gauge you have already setup you can edit that file or delete it and start over.  

Optional TIP - For your first time choose a previous log(that uses the same config file) to get your variables setup before you actually start logging.

How it works: It reads the last line of your log file and updates the gauges with that information, I've tried several methods of doing this and I believe I found the best one.  Whether your log file is a couple K or 15MB+ it seems to always do about 30 samples per second(on my laptop), other options I've tried were able to do 1000+ samples/sec on small files but got down to 3/sec once the file got over 10MB.

Keep in mind this is a first release, so it's not very polished and may have some problems...let me know if you find something and I'll try and fix it.

DISCLAIMER: This was designed to be used while on a dyno or by a passenger, it is your responsibility to use this application safely.
« Last Edit: September 05, 2012, 04:52:38 PM by j2mc » Logged

2.7t stg2
Boost401
Newbie
*

Karma: +8/-1
Offline Offline

Posts: 21


« Reply #1 on: September 05, 2012, 03:46:10 PM »

This is great stuff.....thanks .. anyway to make the gauges look like real gauges?
Logged
j2mc
Full Member
***

Karma: +15/-0
Offline Offline

Posts: 50


« Reply #2 on: September 05, 2012, 03:48:59 PM »

This is great stuff.....thanks .. anyway to make the gauges look like real gauges?

That's the plan eventually, this first release was just to get it to work(and make sure it works for everyone).  Although this will probably be replaced by the nefmoto logger once he does graphs or gauges, so maybe not.
« Last Edit: September 05, 2012, 03:51:52 PM by j2mc » Logged

2.7t stg2
professor
Sr. Member
****

Karma: +25/-0
Offline Offline

Posts: 409



« Reply #3 on: September 05, 2012, 04:00:28 PM »

Good good i ll test it asap and report  Smiley
Logged

Seat Ibiza MK4 Cupra 1.8t 20V, stg3.
"Those 1.8T 20V machines are really tough" ©
nyet
Administrator
Hero Member
*****

Karma: +607/-168
Online Online

Posts: 12256


WWW
« Reply #4 on: September 05, 2012, 05:43:14 PM »

This could be done much better with a named pipe or a domain socket

wish we had the source to ME7L
Logged

ME7.1 tuning guide
ECUx Plot
ME7Sum checksum
Trim heatmap tool

Please do not ask me for tunes. I'm here to help people make their own.

Do not PM me technical questions! Please, ask all questions on the forums! Doing so will ensure the next person with the same issue gets the opportunity to learn from your ex
j2mc
Full Member
***

Karma: +15/-0
Offline Offline

Posts: 50


« Reply #5 on: September 05, 2012, 07:47:04 PM »

I attempted several different ways trying to get the output directly from ME7logger, but I kept having problems left and right.  I know this is not the most efficient way to do it, but in my limited time to work on it this was the best and most stable option.

And it actually is fairly efficient as I don't load the file in memory, I just start reading the file from the end byte by byte until I get to an EOL marker, then read out from there(which is the last line).  My initial tests showed this running at over 1000 per second, but when I added in parsing the data and updating the gui it slowed down to it's current speed.
« Last Edit: September 06, 2012, 10:33:10 AM by j2mc » Logged

2.7t stg2
Boost401
Newbie
*

Karma: +8/-1
Offline Offline

Posts: 21


« Reply #6 on: September 08, 2012, 03:48:48 AM »

So I gave this a shot and my gauge for boost desired wasn't moving but actual boost was any ideas?
Logged
lulu2003
Full Member
***

Karma: +11/-1
Offline Offline

Posts: 242



« Reply #7 on: September 08, 2012, 04:06:51 AM »

BTW:

if you can handle old school 3270 Terminal style and want to see as much info as possible take a look at this:
http://nefariousmotorsports.com/forum/index.php?topic=2001.0title=

it's getting the values exaktly the same way and was a very short "hack" and lacks gauges by desire.
Logged
j2mc
Full Member
***

Karma: +15/-0
Offline Offline

Posts: 50


« Reply #8 on: September 10, 2012, 12:30:10 PM »

So I gave this a shot and my gauge for boost desired wasn't moving but actual boost was any ideas?

Not sure, you setup the same min and max values for both gauges correct?  Are all the other gauges working?  Did it log boost desired correctly?
Logged

2.7t stg2
Boost401
Newbie
*

Karma: +8/-1
Offline Offline

Posts: 21


« Reply #9 on: September 11, 2012, 07:02:08 AM »

Me7 logs are good reads boost desired and boost actual.....and I have my values set the same I think it's 1000min .......2000max......is this ok?
Logged
j2mc
Full Member
***

Karma: +15/-0
Offline Offline

Posts: 50


« Reply #10 on: September 11, 2012, 07:57:57 AM »

That's strange, can you send me one of your logs so I can see if I can reproduce it.
Thanks
Logged

2.7t stg2
Boost401
Newbie
*

Karma: +8/-1
Offline Offline

Posts: 21


« Reply #11 on: September 12, 2012, 04:09:13 AM »

here you go thanks....i think this is the longest one i have, the other ones i deleted, they get pretty big if you drive for awhile.
Logged
ratherb1
Full Member
***

Karma: +5/-5
Offline Offline

Posts: 115



« Reply #12 on: October 23, 2012, 06:34:24 AM »

When I sit at idle my desired boost is 1007.56 mbar and my actual boost  is 1008.12 is this ok?

I notice in your pics yours is around 800 what gives?   could It be vacuum leak or something on my part?   What is everybody elses at idle?
Logged

-ROMIE
masterj
Hero Member
*****

Karma: +62/-5
Offline Offline

Posts: 1049



WWW
« Reply #13 on: October 23, 2012, 06:58:28 AM »

When I sit at idle my desired boost is 1007.56 mbar and my actual boost  is 1008.12 is this ok?

I notice in your pics yours is around 800 what gives?   could It be vacuum leak or something on my part?   What is everybody elses at idle?

Yes it is OK. Atmospheric pressure depends heavily on what height you're above sea level and around 1000mbar it is normal
Logged

j2mc
Full Member
***

Karma: +15/-0
Offline Offline

Posts: 50


« Reply #14 on: October 23, 2012, 07:01:18 PM »

Exactly...I'm at around 4500-5000 ft elevation which is why there is a pretty big difference.
Logged

2.7t stg2
Pages: [1] 2
  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Page created in 0.022 seconds with 17 queries. (Pretty URLs adds 0s, 0q)