Prevent a gauge from going negative
Moderator: LT401Vette
Prevent a gauge from going negative
I have a boost gauge, 0-12psi, when in vacuum the gauge rotates past zero. The needle ends up on 11PSI. Any way to set a gauge limit to prevent this rotation?
Re: Prevent a gauge from going negative
One of TunerStudio's standard options is a "Vac/Boost" gauge that's ranged from -30 to 30 by default. Is there a reason you don't want to see vacuum? Would switching the gauge type to a basic readout or bar gauge work?
Re: Prevent a gauge from going negative
Since I'm using shadowdash on a small screen, on a motorcycle, I'm trying to make the gauge as easy to read quickly as I can. Bar graph could work but I'd prefer circular as it's quicker to read at a glance.Laminar wrote:One of TunerStudio's standard options is a "Vac/Boost" gauge that's ranged from -30 to 30 by default. Is there a reason you don't want to see vacuum? Would switching the gauge type to a basic readout or bar gauge work?
Re: Prevent a gauge from going negative
i second that it would be nice to be able to select a min gauge reading and to limit the travel to that
1990 bmw 320i daily driver with m20b25 ms3 sequential fuel, 380cc injectors, d585 coil near plug, home made cam sync, launch control, fan control, vss, homebrew egt logging what's next????
-
- Super MS/Extra'er
- Posts: 12733
- Joined: Sat Jul 16, 2005 8:07 am
- Location: Moorseville, NC
- Contact:
Re: Prevent a gauge from going negative
In the next release the gauges have pegs. When at the peg, the needle shakes to indicate it wants to go further.
In 2.6 what you can do is create a new OutputChannel that limits the value to positive.
i.e.:
This assumes the OutputChannel you are currently using is named boost.
Then assign your gauge to that channel instead.
In 2.6 what you can do is create a new OutputChannel that limits the value to positive.
i.e.:
Code: Select all
[OutputChannels]
positiveBoost = { boost >= 0 ? boost : 0 }, "psi"
Then assign your gauge to that channel instead.
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: 358
- Joined: Thu Feb 02, 2012 9:08 am
Re: Prevent a gauge from going negative
Nifty. I wasn't sure if it was just my settings or if they all kind of did that. I kind of got around it by hiding the worse offender (AFR) under another gauge so the needle just disappears when above 18.
"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!
Drag Week 2011, 2012 & 2015. - BB N/A - 1977 Skylark w/Buick 455 EFI and TKO-600!
Re: Prevent a gauge from going negative
I looked in the dashboard and it's using boostvac, not "boost", I searched the maincontroller.cfg and saw boostvac and boostpsig, but not "boost". I'm guessing boostvac will work or should I use boostpsig in my custom.ini?LT401Vette wrote:In the next release the gauges have pegs. When at the peg, the needle shakes to indicate it wants to go further.
In 2.6 what you can do is create a new OutputChannel that limits the value to positive.
i.e.:
This assumes the OutputChannel you are currently using is named boost.Code: Select all
[OutputChannels] positiveBoost = { boost >= 0 ? boost : 0 }, "psi"
Then assign your gauge to that channel instead.
-
- Helpful MS/Extra'er
- Posts: 118
- Joined: Tue Jul 09, 2013 1:01 pm
Re: Prevent a gauge from going negative
I checked the .ini file and it looks like either of those two outputChannels would work so go ahead and try the boostvac outputChannel
and see if that does what you want.
and see if that does what you want.
Re: Prevent a gauge from going negative
Woo hoo, that worked! I used boostvac.
Re: Prevent a gauge from going negative
used this for a temp gauge to mimic a dashboard gauge works great cheers.
1990 bmw 320i daily driver with m20b25 ms3 sequential fuel, 380cc injectors, d585 coil near plug, home made cam sync, launch control, fan control, vss, homebrew egt logging what's next????