Custom "calculated" gauges?
Moderator: LT401Vette
-
- Experienced MS/Extra'er
- Posts: 182
- Joined: Mon Dec 27, 2004 6:58 pm
- Location: Colorado, USA
- Contact:
Custom "calculated" gauges?
can calculated gauges be made like you can with MT? Most specifically I'd love to have the Vacuum and Boost Custom gauges in my layout.
MS2 v3.57 w/ MapDaddy Option (Thanks DIYAutoTune!)
1979 Volkswagen Dasher (aka Mr Hanky) Drag Racing Project
1979 Volkswagen Dasher (aka Mr Hanky) Drag Racing Project
-
- Super MS/Extra'er
- Posts: 12697
- Joined: Sat Jul 16, 2005 8:07 am
- Location: Moorseville, NC
- Contact:
Re: Custom "calculated" gauges?
You sure can...
It is on the TODO list to make a GUI to add & Edit custom output channels, but for now you need to do it MegaTune Style. Edit the ini file or add a custom.ini to the projectCfg folder with any added OutputChannels. All the ini's support the MegaTune syntax
Once you have the OutputChannel you need, you can add a new Gauge to the dash by doing a right click, Designer Mode.
It is on the TODO list to make a GUI to add & Edit custom output channels, but for now you need to do it MegaTune Style. Edit the ini file or add a custom.ini to the projectCfg folder with any added OutputChannels. All the ini's support the MegaTune syntax
Once you have the OutputChannel you need, you can add a new Gauge to the dash by doing a right click, Designer Mode.
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
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
-
- Experienced MS/Extra'er
- Posts: 182
- Joined: Mon Dec 27, 2004 6:58 pm
- Location: Colorado, USA
- Contact:
Re: Custom "calculated" gauges?
thanks for the tip on the Custom.ini file!
now on to creating/editing gauges... OMFG, this has got to be the MOST FRUSTRATING THING EVAR... I'm gonna spare you the Rant I just typed... but editing anything that overlaps and moving little sliders that don't show you values is evil
now on to creating/editing gauges... OMFG, this has got to be the MOST FRUSTRATING THING EVAR... I'm gonna spare you the Rant I just typed... but editing anything that overlaps and moving little sliders that don't show you values is evil
MS2 v3.57 w/ MapDaddy Option (Thanks DIYAutoTune!)
1979 Volkswagen Dasher (aka Mr Hanky) Drag Racing Project
1979 Volkswagen Dasher (aka Mr Hanky) Drag Racing Project
-
- Super MS/Extra'er
- Posts: 12697
- Joined: Sat Jul 16, 2005 8:07 am
- Location: Moorseville, NC
- Contact:
Re: Custom "calculated" gauges?
It gets tedious
Some tips...
- If you leave the dialogs open, the values will change each time you select different gauges.
- Changes will apply to what ever gauges are selected.
- To apply a setting like a color to multiple gauges, first select the gauge with the color you want, then with the CTRL down select all the others you want to apply the 1st gauges color to. The value in the dialog will always be the 1st selected in a multi-select scenario.
When you have gauges overlapping, it will select the lower ones if the one above is not painting to that area. Or you can press tab to cycle through them.
Again it is easier if you leave the setting dialogs you are using open.
Some tips...
- If you leave the dialogs open, the values will change each time you select different gauges.
- Changes will apply to what ever gauges are selected.
- To apply a setting like a color to multiple gauges, first select the gauge with the color you want, then with the CTRL down select all the others you want to apply the 1st gauges color to. The value in the dialog will always be the 1st selected in a multi-select scenario.
When you have gauges overlapping, it will select the lower ones if the one above is not painting to that area. Or you can press tab to cycle through them.
Again it is easier if you leave the setting dialogs you are using open.
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
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
-
- Experienced MS/Extra'er
- Posts: 182
- Joined: Mon Dec 27, 2004 6:58 pm
- Location: Colorado, USA
- Contact:
Re: Custom "calculated" gauges?
thanks for the tips... I also changed the background color from black to white, made a bit of difference in changing the gauges.
now on to a calculated Output channel question...
This was copied from my MT config, "boost" works, but "Vacuum" isn't working for my gauge? not sure if its syntax or a variable issue.
now on to a calculated Output channel question...
Code: Select all
[OutputChannels]
vacuum = {(barometer-map)*0.2953007} ; Calculate vacuum in in-Hg.
boost = {map < barometer ? 0.0 : (map-barometer)*0.1450377} ; Calculate boost in PSIG.
MS2 v3.57 w/ MapDaddy Option (Thanks DIYAutoTune!)
1979 Volkswagen Dasher (aka Mr Hanky) Drag Racing Project
1979 Volkswagen Dasher (aka Mr Hanky) Drag Racing Project
-
- Super MS/Extra'er
- Posts: 12697
- Joined: Sat Jul 16, 2005 8:07 am
- Location: Moorseville, NC
- Contact:
Re: Custom "calculated" gauges?
The syntax looks fine as long as barometer and map are valid outputchannels.
What firmware are you running?
Is it giving any error or just not working?
What firmware are you running?
Is it giving any error or just not working?
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
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
-
- Experienced MS/Extra'er
- Posts: 182
- Joined: Mon Dec 27, 2004 6:58 pm
- Location: Colorado, USA
- Contact:
Re: Custom "calculated" gauges?
I'm running the latest released Beta of 2.1.... do I need to define barometer and map as channels, aren't they already default? No error, If I send positive air pressure to my map sensor (MAPDaddy) I get movement on my boost gauge, when I apply vacuum the boost gauge stays at 0 as designed, but the Vac gauge doesn't even twitch (positive or negative)LT401Vette wrote:The syntax looks fine as long as barometer and map are valid outputchannels.
What firmware are you running?
Is it giving any error or just not working?
edit... I even tried swapping pos/neg values and still doesn't twitch... I'm gonna try a few other little tweaks
MS2 v3.57 w/ MapDaddy Option (Thanks DIYAutoTune!)
1979 Volkswagen Dasher (aka Mr Hanky) Drag Racing Project
1979 Volkswagen Dasher (aka Mr Hanky) Drag Racing Project
-
- Experienced MS/Extra'er
- Posts: 182
- Joined: Mon Dec 27, 2004 6:58 pm
- Location: Colorado, USA
- Contact:
Re: Custom "calculated" gauges?
I re-entered all the data (gauge limits, etc) and now its working? odd
MS2 v3.57 w/ MapDaddy Option (Thanks DIYAutoTune!)
1979 Volkswagen Dasher (aka Mr Hanky) Drag Racing Project
1979 Volkswagen Dasher (aka Mr Hanky) Drag Racing Project
-
- Experienced MS/Extra'er
- Posts: 182
- Joined: Mon Dec 27, 2004 6:58 pm
- Location: Colorado, USA
- Contact:
Re: Custom "calculated" gauges?
closed and re-opened TS... now its not working again?
MS2 v3.57 w/ MapDaddy Option (Thanks DIYAutoTune!)
1979 Volkswagen Dasher (aka Mr Hanky) Drag Racing Project
1979 Volkswagen Dasher (aka Mr Hanky) Drag Racing Project
-
- Experienced MS/Extra'er
- Posts: 182
- Joined: Mon Dec 27, 2004 6:58 pm
- Location: Colorado, USA
- Contact:
Re: Custom "calculated" gauges?
ok... not sure what I did to get it to work before... But I tweaked the syntax of Vacuum to be like the inverse of Boost, by defining a "Zero" condition.... now it "seems" to be working
Code: Select all
[OutputChannels]
; vacuum = {(barometer-map)*0.2953007} ; Calculate vacuum in in-Hg.
vacuum2 = {barometer < map ? 0.0 : (barometer-map)*0.2953007} ; Calculate vacuum in in-Hg.
boost = {map < barometer ? 0.0 : (map-barometer)*0.1450377} ; Calculate boost in PSIG.
MS2 v3.57 w/ MapDaddy Option (Thanks DIYAutoTune!)
1979 Volkswagen Dasher (aka Mr Hanky) Drag Racing Project
1979 Volkswagen Dasher (aka Mr Hanky) Drag Racing Project
-
- Super MS/Extra'er
- Posts: 12697
- Joined: Sat Jul 16, 2005 8:07 am
- Location: Moorseville, NC
- Contact:
Re: Custom "calculated" gauges?
Interesting...
Maybe the spaces or lack of are tripping something. I'll look into it and see if I can reproduce it.
Maybe the spaces or lack of are tripping something. I'll look into it and see if I can reproduce it.
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
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
-
- Experienced MS/Extra'er
- Posts: 182
- Joined: Mon Dec 27, 2004 6:58 pm
- Location: Colorado, USA
- Contact:
Re: Custom "calculated" gauges?
thanks for all your help! I really am liking TS
MS2 v3.57 w/ MapDaddy Option (Thanks DIYAutoTune!)
1979 Volkswagen Dasher (aka Mr Hanky) Drag Racing Project
1979 Volkswagen Dasher (aka Mr Hanky) Drag Racing Project
-
- Super MS/Extra'er
- Posts: 12697
- Joined: Sat Jul 16, 2005 8:07 am
- Location: Moorseville, NC
- Contact:
Re: Custom "calculated" gauges?
I think I see the problem here. It doesn't like the ( immediately after the open brace {
I changed it to this and it seems to work. I'll fix the ini parser and put it in tonight's build.
I changed it to this and it seems to work. I'll fix the ini parser and put it in tonight's build.
Code: Select all
[OutputChannels]
vacuum = { (barometer-map)*0.2953007} ; Calculate vacuum in in-Hg.
boost = {map < barometer ? 0.0 : (map-barometer)*0.1450377} ; Calculate boost in PSIG.
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
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
-
- Super MS/Extra'er
- Posts: 12697
- Joined: Sat Jul 16, 2005 8:07 am
- Location: Moorseville, NC
- Contact:
Re: Custom "calculated" gauges?
As it turned out... My parser was not replacing the variable name with a value when the formula started with a ( followed immediately by a variable. So it was the "(barometer" part that was breaking it. I'm surprised this wasn't getting me somewhere else.
Thanks for finding it!
Thanks for finding it!
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
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
-
- Experienced MS/Extra'er
- Posts: 182
- Joined: Mon Dec 27, 2004 6:58 pm
- Location: Colorado, USA
- Contact:
Re: Custom "calculated" gauges?
hahha... sweet, glad to help!
MS2 v3.57 w/ MapDaddy Option (Thanks DIYAutoTune!)
1979 Volkswagen Dasher (aka Mr Hanky) Drag Racing Project
1979 Volkswagen Dasher (aka Mr Hanky) Drag Racing Project