Custom filter in VE analyze live

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

Post Reply
rabid
Experienced MS/Extra'er
Posts: 303
Joined: Mon May 09, 2005 7:44 am

Custom filter in VE analyze live

Post by rabid »

In custom filter on MLV this works but not in TS
[Lambda]>1.1
In TS it says "Error: Variable 'Lambda' is not defined in current configuration."
Is there a list somewhere with all the variables that are defined that can go into the custom filter?
I want a filter in there that prevents it from adjusting the table if the wideband goes full lean in error. I use this in the "boost" table and I never want anything leaning out if the sensor goes crazy. I think the sensor gets too much back pressure in the exhaust and quits reading.
LT401Vette
Super MS/Extra'er
Posts: 12732
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: Custom filter in VE analyze live

Post by LT401Vette »

Yes I have added a new filter for the next release that does just that. It filters any records that are at full rich or full lean.
Also if you are going to be running it at WOT or under boost, you may want to un-check the "Update Controller" checkbox. Then it will analyze and generate the recommended table but will not send the change to the controller until you click the send button.


But now finally on to your real question :)
In custom filter on MLV this works but not in TS
[Lambda]>1.1
In TS it says "Error: Variable 'Lambda' is not defined in current configuration."
1) TS uses OutputChannels, not DataLog Fields. Although it may not be a bad idea to have it support using log fields and mapping it back to the underlying outputchannel..
2) in TS you don't use the [ ]'s around channel name.

So your formula of:
[Lambda]>1.1

Would look like this in TS:
lambda1 > 1.1

The OutputChannel names are case sensitive, same as MLV.
You can get a full list of OutputChannel names by Going through he ini or by looking at the OutputChannel dialog for any gauge while in designer mode.
Right click on a gauge:
Properties --> OutputChannel

I need to make that more convenient. Ultimately i am planning to make a formula builder GUI
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
rabid
Experienced MS/Extra'er
Posts: 303
Joined: Mon May 09, 2005 7:44 am

Re: Custom filter in VE analyze live

Post by rabid »

thanks! I noticed that in the graph at the bottom it listed that and I tried it and came up with that formula. Good idea unchecking that. It really changed the values quickly.

I put in
(lambda1 > 1.1) && (lambda1 < .7)
Will that work?

Also it keeps erasing my formula and turning off if I exit and reopen TS.
LT401Vette
Super MS/Extra'er
Posts: 12732
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: Custom filter in VE analyze live

Post by LT401Vette »

(lambda1 > 1.1) && (lambda1 < .7)
Will that work?
Yes, you can tack on as many & and || conditions as you wish. There is an "Expression Evaluator" under the tools menu. That can help you see the result of any expression.
Also it keeps erasing my formula and turning off if I exit and reopen TS.
I'll look at 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
Post Reply