Voltage logging?
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.
-
fordfanboi
- MegaSquirt Newbie
- Posts: 13
- Joined: Mon Dec 19, 2005 11:36 pm
Voltage logging?
Thanks!
-
Bernard Fife
- Super Squirter
- Posts: 1009
- Joined: Mon Feb 16, 2004 3:15 pm
I don't think battery voltage is in the standard MS-II logs in order to manitain compaitibility with older logs. It is easily added though.
Add the line:
Code: Select all
entry = batteryVoltage, "VBatt", float, "%.3f" I use MegaLogViewer, so I can just select VBatt once I load the datalog to see the voltages.
Note that 'batteryVoltage' also needs to be in the 'Output Channels' in the INI file, but it should be there by default in MS-II in a line like:
Code: Select all
batteryVoltage = { batADC / 255.0 * 30.0 } ; Current MS power supply voltage.More on voltage logging: http://www.msefi.com/viewtopic.php?p=94 ... batt#94115
Lance.
-
fordfanboi
- MegaSquirt Newbie
- Posts: 13
- Joined: Mon Dec 19, 2005 11:36 pm
-
fordfanboi
- MegaSquirt Newbie
- Posts: 13
- Joined: Mon Dec 19, 2005 11:36 pm
-
Bernard Fife
- Super Squirter
- Posts: 1009
- Joined: Mon Feb 16, 2004 3:15 pm
fordfanboi,batteryVoltage = scalar, S16, 26, "v", 0.100, 0.0
Yes, that will work! You still need to add:
Code: Select all
entry = batteryVoltage, "VBatt", float, "%.3f"to the datalog section of the INI, of course.
Lance.
-
fordfanboi
- MegaSquirt Newbie
- Posts: 13
- Joined: Mon Dec 19, 2005 11:36 pm
