Update 0.982.4

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

LT401Vette
Super MS/Extra'er
Posts: 12733
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Update 0.982.4

Post by LT401Vette »

For information I figured i would post some of the bigger changes in 0.982.4.
It occurred to me this should have been 0.983 as most of the changes are new features, but it is just a number :)

- 2D table views are switchable to a 3D view when available.
- There are spinner buttons next to all scalar field inputs. Up or Down will increment/decrement by the minimum increment amount for the underlying parameter.
- File name of the last open or saved msq is displayed in the status bar.
- The full gauge cluster menu is now available from the main menu bar under Options-->"Gauge Custer"

As always there are several other smaller changes, but those are the main changes over the last couple days.
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
Gokart
Master MS/Extra'er
Posts: 667
Joined: Thu Aug 03, 2006 2:38 am
Contact:

Re: Update 0.982.4

Post by Gokart »

Thanks Phil.
TunerStudio now have that 1 hand operation capabilities and I like it.
If possible, include an afr gauge to the fuel editing table and graph for easy
reference during tuning so that when the table is bring forward, one can
still have that reference even though the afr display behind it is being overlap.
Not really essential since that gauge is available 'behind' it.
(4G63T - MSIIextra) (4G13 - MS3-beta testing)
tapedshoes
Helpful MS/Extra'er
Posts: 39
Joined: Sat Feb 25, 2006 4:21 pm
Location: Seattle

Re: Update 0.982.4

Post by tapedshoes »

you are UNSTOPPABLE! This is great, thanks for all your hard work, definitely my new favorite car toy.
LT401Vette
Super MS/Extra'er
Posts: 12733
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: Update 0.982.4

Post by LT401Vette »

If possible, include an afr gauge to the fuel editing table and graph for easy
reference during tuning so that when the table is bring forward, one can
still have that reference even though the afr display behind it is being overlap.
Don't be worrying about that one, you will like what I have coming next :). I think it will solve for that.
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
LT401Vette
Super MS/Extra'er
Posts: 12733
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: Update 0.982.4

Post by LT401Vette »

This is great, thanks for all your hard work, definitely my new favorite car toy.
Actually this made remember something I forgot. I meant to make + & - or Up & Down increment and decrement too. I'll through that in.
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
Eagle7
Experienced MS/Extra'er
Posts: 230
Joined: Thu Oct 07, 2004 4:08 pm
Location: Rockford, MI, USA

Re: Update 0.982.4

Post by Eagle7 »

Thanks for adding the msq info to the status bar.
The prior project's msq is still displayed in the title bar.
I've got a MS1/E project and a MS2/E project.
* Open one project - title bar shows signature
* Open msq - title bar doesn't change
* Open the other project - msq from 1st project is added to title bar
* Open msq in other project - title bar doesn't change

http://www.flickr.com/photos/30105829@N ... 2/sizes/o/

Thanks Phil. You've got a great piece of work here.
Marty
LT401Vette
Super MS/Extra'er
Posts: 12733
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: Update 0.982.4

Post by LT401Vette »

* Open msq - title bar doesn't change
* Open the other project - msq from 1st project is added to title bar
That was the piece I was missing. I'm with you now. I totally forgot I ever set the msq to the title bar. Now that it is in the status bar, I think I'll just take it back out of the title bar completely. Thanks for beating it in to my sometimes dense skull :)
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
Eagle7
Experienced MS/Extra'er
Posts: 230
Joined: Thu Oct 07, 2004 4:08 pm
Location: Rockford, MI, USA

Re: Update 0.982.4

Post by Eagle7 »

LT401Vette wrote:Thanks for beating it in to my sometimes dense skull :)
I wish I was that dense. :D
boost junkie
Master MS/Extra'er
Posts: 802
Joined: Tue May 11, 2004 8:58 am
Location: dallas texas usa
Contact:

Re: Update 0.982.4

Post by boost junkie »

Looks great! I can't wait to try this out on a running engine (some time next month). 2 things I see that I need right off:

1. Can you add key bindings for commonly used menus? Something like F5 for VE table, F6 spark, etc.
2. Is it possible to make the VE table resizeable (when I make the window bigger the table stays the same size.
shauer
Experienced MS/Extra'er
Posts: 364
Joined: Wed Oct 05, 2005 10:39 am
Location: Rochester, NY USA
Contact:

Re: Update 0.982.4

Post by shauer »

I just had an idea for a possible new feature for tuning.

How about a table that has the same X&Y settings as the VE table and is populated by TunerStudio while the engine is running to show the EGO correction applied for each bin? Or possibly the AFR for each bin?

I'm thinking of something I can look at while connected to a running engine, or pull out of a log file that would give me a graphical view of what EGO correction did accross the VE table and what the AFR was across the VE table. The values would be averages from the log data. As the engine operates within a given VE bin the average EGO correction or AFR would be updated for that bin in the dynamically populated table.

Such a graphical display of mixture performance would be very valuable for tuning if you don't want to use the auto tuning features.
Steve Hauer
http://www.77e21.info
1977 BMW 320i with MAF, COP, IAC, Sequential fuel and spark, MS3 knock sensing
MS3 / MS3X / V3 mainboard, MS3 V1.5 a4
LT401Vette
Super MS/Extra'er
Posts: 12733
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: Update 0.982.4

Post by LT401Vette »

1. Can you add key bindings for commonly used menus? Something like F5 for VE table, F6 spark, etc.
That is actually sort of in there..... The thing is the because the tables themselves are not know to the core application, they are defined in the ini file, so the same goes for the hot keys, they need to be defined in the ini too. The problem is, it can change with firmwares & ini files. Like MSII Extra 2.0, they have a VE Table 1 hot key assigned. ALT+B then 1
But not all the ini's are doing this. What can be done, is at some point I would like to go through some of the ini's for the most current and common Firmwares and clean things up and make them take advantage of what TS can do. Right now all the ini's are locked into the limitations of MegaTune.
2. Is it possible to make the VE table resizeable (when I make the window bigger the table stays the same size.
Yes it is possible. I have gone to do it a couple times now and it didn't look easy enough, so I moved on :). One of these days i would like to finish this. I'm sure you've seen I have the MLV tables changing font size, but it isn't based on the table size. I'll take another poke around.

How about a table that has the same X&Y settings as the VE table and is populated by TunerStudio while the engine is running to show the EGO correction applied for each bin? Or possibly the AFR for each bin?
That is on the list :), but actually higher on the MLV list. MLV will probably see this first for things like AFR target table generation based on a log file.
TunerStudio will be getting it's own version of VE Analyze too very shortly.
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
shauer
Experienced MS/Extra'er
Posts: 364
Joined: Wed Oct 05, 2005 10:39 am
Location: Rochester, NY USA
Contact:

Re: Update 0.982.4

Post by shauer »

That is on the list :), but actually higher on the MLV list. MLV will probably see this first for things like AFR target table generation based on a log file.
TunerStudio will be getting it's own version of VE Analyze too very shortly.
That's good to here. Having the capability to see the overall AFR results in table format in either application will be a big help. I realize I'm in a very small minority with my config, but for those of us running blended AN/SD the VE analyzer does not do much good.
Steve Hauer
http://www.77e21.info
1977 BMW 320i with MAF, COP, IAC, Sequential fuel and spark, MS3 knock sensing
MS3 / MS3X / V3 mainboard, MS3 V1.5 a4
em_knaps
Helpful MS/Extra'er
Posts: 99
Joined: Sat May 22, 2004 12:30 am
Location: Auckland,New Zealand
Contact:

Re: Update 0.982.4

Post by em_knaps »

Hey folks,

I really do like the Tuner Studio.

there are some differences from megatune that make it so much easier to see the overall effect of changes
made to the tune of your engine, visual plotting on a graph of WUE for instance is just one that springs to mind.

However, it seams to be using allot of processor power, i'm seeing spikes of up to 70% with an average of around 30%, this is on
a 3GHZ processor,

as a comparison megatune spikes to 30% with an average of 10%.

Is this just something that is to be expected when running a java programme?
or perhaps i have a setup problem....

very nice work though, even if it is processor resource hungry i think its worth it.

Cheers,
Daniel.
There is no spoon.....
smolly
Helpful MS/Extra'er
Posts: 113
Joined: Thu Jan 04, 2007 3:29 pm
Location: Netherlands
Contact:

Re: Update 0.982.4

Post by smolly »

There seems to be a small problem in the AFR table.
For example, a value of 16.0 is shown as 15.9 in the 2D view. The 3D view is allright, there the 16.0 is shown. I've checked it against Megatune
V3.0 MS1 with hr_10d2 / errors* daughterboard --> upgraded to MS2/extra 3.4.2
Mohr Rush kitcar with Audi 1.8 20V Turbo
LT401Vette
Super MS/Extra'er
Posts: 12733
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: Update 0.982.4

Post by LT401Vette »

However, it seams to be using allot of processor power, i'm seeing spikes of up to 70% with an average of around 30%, this is on
a 3GHZ processor,
There are a lot of factors in processor consumption. Your hardware and settings will change things drastically. The biggest CPU factor should be pretty obvious, all the graphics. In Tuning of power consumption, naturally I use MegaTune as a baseline and target keeping CPU consumption even. But these factors will drive that up:
- Large screen - If the dash is large it takes more power to paint
- AntiAliasing On - depending on how well your hardware supports this it will quickly double your CPU usage. MegaTune never uses anti-aliasing
- Data Rate - If you turn that to 25 fps or max, that can create a lot more screen paints.
- Which Dash you are using - Different dashboards have a different number of Gauges, some gauge styles take more CPU. Like the Analog Bar, that still has some optimizing opportunities, and uses more CPU than most of the others.
Another place TSMS uses more CPU is when the dialogs are open with like the 3D tables, because the Dash keeps going Where in MegaTune it stalls.

So is it Java, no. As on even settings, TS uses less CPU power than MegaTune, but the extra bells and whistles start asking for CPU. You can't imagine the time spent measuring nano seconds of paint times :). If you have a Gauge that takes 5 millisecond to paint, that sounds Ok, no way.
5ms X 12 gauges X 20 fps = 1200 or 1.2 seconds of work every second, in other words the CPU is pegged.

Try switching to the Default dash and turning Anti-Aliasing off and data rate set to 15-20. That puts TSMS on an even playing field with MegaTune and you will find CPU usage on par or lower than MegaTune.

Now in a case like yours where you have the CPU to use, I go ahead and use it when needed. But it is throttled for slower machines. So you can still run on an 800 MHz laptop and should never see the processor pegged, but the frame rate may slow when needed to keep the app responsive.
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
LT401Vette
Super MS/Extra'er
Posts: 12733
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: Update 0.982.4

Post by LT401Vette »

smolly wrote:There seems to be a small problem in the AFR table.
For example, a value of 16.0 is shown as 15.9 in the 2D view. The 3D view is allright, there the 16.0 is shown. I've checked it against Megatune
I'm guessing it is a rounding difference. Can you shoot me an msq where you are seeing this happen?
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
Eagle7
Experienced MS/Extra'er
Posts: 230
Joined: Thu Oct 07, 2004 4:08 pm
Location: Rockford, MI, USA

Re: Update 0.982.4

Post by Eagle7 »

How do you set fps?
em_knaps
Helpful MS/Extra'er
Posts: 99
Joined: Sat May 22, 2004 12:30 am
Location: Auckland,New Zealand
Contact:

Re: Update 0.982.4

Post by em_knaps »

Hey Phil,

Thanks for taking the time to write such a comprehensive reply,

I have made the adjustments you suggested and CPU usage is circa 10%

I look forward to actually using it on the road.

Thanks again,

Daniel.
There is no spoon.....
LT401Vette
Super MS/Extra'er
Posts: 12733
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: Update 0.982.4

Post by LT401Vette »

How do you set fps?
That should really be Records per Second as fps or Frame Per second sounds more like the dash paints and i am using it both ways above.

On the Menu:
Communications --> Data Rate

That doesn't directly control the gauge paint rate, it controls the number of times per second the output channel is pulled from the MS, so that is the number of records per second in your log files, but also how many updates per second your gauges will get.

The maximum possible changes with your firmware.
MS1-Extra never gets over about 18 records per second with the 9600 baud and 39 bytes per read, but MS2 Extra will run at 28 records per second even with 159 bytes per read, thanks to the 115.2k baud.

The actual fps of the dash is driven off the number of updates the gauges get, until CPU utilization reaches a threshold, then the paint rate will be slowed.

if you add this line to the TunerStudio.properties file, it will display the dash fps rate:

Code: Select all

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

Re: Update 0.982.4

Post by LT401Vette »

em_knaps wrote:Hey Phil,

Thanks for taking the time to write such a comprehensive reply,

I have made the adjustments you suggested and CPU usage is circa 10%

I look forward to actually using it on the road.

Thanks again,

Daniel.
That's good to hear. So it sounds pretty inline with MegaTune. I like to keep it so if your laptop can run Megatune it can Run TunerStudio, but naturally you will need to keep the fancy dash boards under control. But when you have more processing power as you do, you can get it all.:) It might be worth putting a menu option to put it all in low CPU load mode with one selection.
Even with a faster machine lower CPU usage is nice sometimes just for battery life.
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
Post Reply