Datalog Measuring Oil Level through MHD

fstbtstr

Lurker
Apr 14, 2024
17
10
0
tried to log with this custom channel file:

<?xml version="1.0" standalone="yes"?>
<ActualValues>
<ActualValue ReqBlock="20,89" Size="1" DataA="1" DataB="0.0" Prefix="C0" Units="mm" RoundingDigits="2">
<Text xml:lang="en">C0002089_O_niveau</Text>
</ActualValue>
<ActualValue ReqBlock="20,89" Size="1" DataA="1" DataB="0.0" Prefix="D0" Units="mm" RoundingDigits="2">
<Text xml:lang="en">D0002089_O_niveau</Text>
</ActualValue>
<ActualValue ReqBlock="31,A3" Size="1" DataA="1" DataB="0.0" Prefix="D0" Units="mm" RoundingDigits="2">
<Text xml:lang="en">ozniv</Text>
</ActualValue>
<ActualValue ReqBlock="31,A3" Size="1" DataA="1" DataB="0.0" Prefix="C0" Units="mm" RoundingDigits="2">
<Text xml:lang="en">ozniv_C0</Text>
</ActualValue>
</ActualValues>

downloaded this file on my phone after naming it as 98G0B_UserChannels.xml, clicked on import custom user channels and after MHD said these were imported successfully, they never showed up in a channel list. What could be a problem?
 

fstbtstr

Lurker
Apr 14, 2024
17
10
0
Okay, I was able to figure out why my custom channels didn't show up. I needed to put DataA="1.0" instead of DataA="1". I have logged potential ozniv variable's address (no conversion applied) by driving the car in the area with lots of very steep hills. I'm attaching some logs, seems that this var kind of follows the terrain and sometimes dips a lot when braking hard on the incline.
 

Attachments

  • 2024-05-17 01_00_14 98G0B Stg0-1.csv
    202.3 KB · Views: 5
  • 2024-05-17 01_06_29 98G0B Stg0-1.csv
    92.7 KB · Views: 6
  • 2024-05-17 01_10_06 98G0B Stg0-1.csv
    56 KB · Views: 5
  • Like
Reactions: houtan

houtan

Lieutenant
Nov 2, 2017
627
310
0
Ride
135i N55 DCT; PS2
nice job. Are you thinking it could be nmot? I don’t see that variable in your prior post, but I’d be glad to test it out and see what it does on my car.
 

fstbtstr

Lurker
Apr 14, 2024
17
10
0
nice job. Are you thinking it could be nmot? I don’t see that variable in your prior post, but I’d be glad to test it out and see what it does on my car.
no, nmot is just engine speed (rpm), I just didn't scale it, was just trying to test some of the other vars I have cross-ref'd from the S55. ozniv is probably what we want, it's an unflitered (meaning not averaged over time) oil level. I have logged the raw memory value, but it just needs to be multiplied by 0.2929 to get the right scale.
Here's a custom channel file with scaling applied to ozniv and nmot (probably don't want it, there's already Engine RPM option)
<?xml version="1.0" standalone="yes"?>
<ActualValues>
<ActualValue ReqBlock="D,CB" Size="1" DataA="39.9" DataB="0.0" Prefix="D0" Units="rpm" RoundingDigits="2">
<Text xml:lang="en">$nmot</Text>
</ActualValue>
<ActualValue ReqBlock="31,A3" Size="1" DataA="0.2929" DataB="0.0" Prefix="D0" Units="mm" RoundingDigits="2">
<Text xml:lang="en">$ozniv</Text>
</ActualValue>
<ActualValue ReqBlock="D,F7" Size="1" DataA="1.0" DataB="0.0" Prefix="D0" Units="" RoundingDigits="2">
<Text xml:lang="en">$B_brems</Text>
</ActualValue>
</ActualValues>