Data Log Trigger
Moderator: LT401Vette
Data Log Trigger
Can I set a trigger to start logging?
-
Matt Cramer
- Super Squirter
- Posts: 2951
- Joined: Sat Jul 03, 2004 11:35 am
Re: Data Log Trigger
-
Bernard Fife
- Master Squirter
- Posts: 475
- Joined: Thu Oct 29, 2009 12:54 pm
Re: Data Log Trigger
MegaTune can use a trigger to start logging, but the trigger has to be one determined of the outpc values (like rpm, MAP, etc.). The settings for the datalog triggering are in the custom.ini file:
Code: Select all
#unset AUTOMARK_LOGGING_FEATURES
#if AUTOMARK_LOGGING_FEATURES
[OutputChannels]
; Make up some variable names...
highLoad = { rpm >= 3500 && throttle >= 50 }
enable = { rpm >= 2000 }
[Datalog]
enableWrite = enable ; Log entries are only written when the variable
; "enable" is true, see it's definition above.
markOnTrue = highLoad ; A datalog marker is written when "highLoad"
; transitions from false to true. The marker
; looks like "MARK 001 highLoad" to distinguish
; it from the manual markers.
#endif Code: Select all
#unset AUTOMARK_LOGGING_FEATURESCode: Select all
# set AUTOMARK_LOGGING_FEATURES{ throttle >= 80 || rpm >= 4500 }, (high loads or high rpms only) or
{ coolant > 180 }, (only when warmed up) or
{ seconds >= 20 }, (don't use the first few seconds) or
{ engine > 3 }, (only if there are codes that aren't normal running or cranking) etc.
However, MegaTune doesn't support a separate hardware trigger for a datalog (unless this is reflected in one of the outpc values, such as a spare port). The values you can use are listed in the [OutputChannels] section of the controller ini file.
Lance.
Re: Data Log Trigger
I will give that a try
