Logging System Voltage

Forum for discussing Tuner StudioMS tuning & datalogging software.
Forum rules
Read the manual to see if your question is answered there before posting. If you have questions about MS1/Extra or MS2/Extra or other non-B&G code configuration or tuning, please post them at http://www.msextra.com The full forum rules are here: Forum Rules, be sure to read them all regularly.
Post Reply
pope
MegaSquirt Newbie
Posts: 3
Joined: Tue Nov 01, 2005 9:16 pm

Logging System Voltage

Post by pope »

how would I modify the code for MT2.25 in order to have it log the vehicle's system voltage in the data log?

MT already monitors it in the real-time display, so I figure it should not be a difficult mod to make it log it, I just do not know how to do it.
PSIG
Experienced Squirter
Posts: 201
Joined: Fri Jun 11, 2004 11:02 pm
Location: Poulsbo, WA

Post by PSIG »

Hi pope -
It is recorded in the log. :D MegaLogViewer will display battery voltage along with the other recorded info if you select one of the trace labels (left click) and change it to Battery Voltage.
Image
David
Bernard Fife
Super Squirter
Posts: 1009
Joined: Mon Feb 16, 2004 3:15 pm

Post by Bernard Fife »

pope, David;

In some versions of the INI files for older code, the battery voltage can be displayed (as a gauge, on the runtime screen, etc.) but is not necessarily logged. If that's the case, you can log it by adding a line like:

Code: Select all

   entry = batteryVoltage,  "vBatt",       float,  "%.2f"
to the [Datalog] section of the appropriate INI file.

Note that batteryVoltage is an entry is the [OutputChannels] section of the INI file (that tells Megatune where to find the battery voltage value in MegaSquirt's memory, and how to scale/translate it), and the rest of the [Datalog] line is formatting info for the datalog.

Lance.
PSIG
Experienced Squirter
Posts: 201
Joined: Fri Jun 11, 2004 11:02 pm
Location: Poulsbo, WA

Post by PSIG »

Lance wrote:... In some versions of the INI files for older code ... not necessarily logged.
Ahhh. Thanks Lance. I know it would be wall-size, but spreadsheets of the codes and features would be very helpful at times. :D I don't suppose...

David
Bernard Fife
Super Squirter
Posts: 1009
Joined: Mon Feb 16, 2004 3:15 pm

Post by Bernard Fife »

David,

For MS-II there is this: http://www.megamanual.com/ms2/revisions.htm It covers the major changes. There are thousands of minor changes, though, and keeping it up would be hopeless, and the file would be too large to wade through anyhow. There have been a lot of developments in MS-II beta code lately, but the last stable release is 2.36. When the 2.68 code is released after a bit more testing, I'll try to detail the changes (their have been a lot in the code, and a lot in the INI as well).

For MS-I with the standard code, it has been stable for a very long time now, so a revision list isn't very useful.

For MSnS-E, I don't follow the development at all, perhaps James, Ken, and Phil already have something like this on their site.

Lance.
pope
MegaSquirt Newbie
Posts: 3
Joined: Tue Nov 01, 2005 9:16 pm

Post by pope »

thanks guys, this was exactly the information I was needing.
Post Reply