Introducing Interactive Datalogs

RSL

Lieutenant
Aug 11, 2017
937
501
0
Couple more screens of how my setup looks/works. Instant light/dark background choices (I prefer light bg on big monitor, but dark on phone), individual logs can be moved left/right for alignment when overlaying (but nothing for length of individual logs, so they need to be roughly similar), JB4 logs include the headers, etc. Everything else works same as DZ (re-scale on click, etc.). Caveat is that I've not used this at all on a device since I'm just running it on my home server, but shows functionality that can be added (and I felt should be added) with some work. I had fully intended to make a live site for this, but still needed some substantial work and kinda got tired of messing with it. The ultimate goal was to browse/overlay with anyone's logs, not just your own, but would need a lot more work to parse/sort/pair logged parameters which can be completely random. It was at a point this was good enough for me to use and that's pretty much where it stayed.

@doublespaces , I'll look through code over the next couple of days since I've literally not touched it for nearly 2 years. There are a lot of changes everywhere and hopefully I commented them or I'll have to back through everything piece by piece. The logics are pretty straight-forward though.

Light bg
overlay_light.png
Dark bg (same log)
overlay_dark.png
Multiple per page
multiple_logs.png
Multiple JB4
jb4_log_mult.png
 

impuls

Specialist
Jan 28, 2018
92
60
0
Ride
'07 335i
Guess being able to use RPM or time as x-axis would be helpful too, especially when comparing/overlaying logs.
 

RSL

Lieutenant
Aug 11, 2017
937
501
0
In single log plots, time is easy enough to use for x. RPM would cause issues no matter what if it's anything other than a 1 gear WOT log from lowest to highest RPM (would end up with x moving left/right otherwise), but would still have unevenly spaced steps without massaging. Short version: when plotting multiple logs on the same x axis, using time or RPM would lead to either scaling or compression problems. It could be worked around, but you'd wind up with calculated data to fit points where you want them rather than actually logged data. No.

There would be some things left to desire/work around trying to compare vastly different cars. In some cases, might be best to look at them as separate graphs on the same page and zoom/scroll each to get an alignment you want. There are other ways to look at acceleration over time directly from logs though (as long as time and RPM are logged and other variables are known). In the case of estimated output only, it's one view where a normalized RPM axis would be OK, but still wouldn't want to do it if displaying other logged data with it. For just a "dyno" plot, normalization for an x would be OK since it's calculated/estimated data anyway.

Trying to do this to compare different cars/gears/FDs/environments, etc. online would be a nightmare (not that anyone trying to make a comparison would even have enough info about other logs to do it properly anyway), but it's nice to have a log with all params and a relative output of the same car in the same space for comparing changes. Output calculations are straightforward, smoothing is a whole other headache.

Just to reiterate, all the screens I'm posting are what I was able to do with logs and the API myself and looking to give @doublespaces some ideas/caveats while he works on his implementation ;)

inter_dyno.png



inter_dyno2.png
 
  • Like
Reactions: doublespaces

doublespaces

Administrator
Oct 18, 2016
9,303
4,331
0
AZ
Ride
2009 E93 335i
The first step is getting the existing implementation available to the public. The good news, the API has just been released as beta so the process of making these necessary tweaks can begin.
 
  • Like
Reactions: impuls and RSL

doublespaces

Administrator
Oct 18, 2016
9,303
4,331
0
AZ
Ride
2009 E93 335i
After tidying up a few things, this feature is now in a private beta with a few select members. You may see a thread pop up here or there with a datalog embedded so please mention any glitches, irregularities, suggestions, etc. After the new year sometime I'll have some more polish added and after that we will likely shoot for the updated API code. Mostly I'm waiting on XenForo as they are releasing an integrated per-user API key system but its still in an unsupported beta. Once they have finalized their code then I can begin development work around it without worrying about re-coding anything.

Keep in mind, when using this feature, you don't have to embed the logs with BB Code, you can still upload, set private, look around and share the regular link just like with Datazap. For everyone else, if you click the Datalog navigation tab, you should be able to view a list of recently uploaded public logs by other members. For those on mobile, you need to hit the hamburger menu to access that navigation area. The goal is to add ratings, view counts and display a "My Datalogs" area in your Profile and member card(when you click someone's username).

A few differences worth pointing out right away, would be the ability to upload up to 5 logs simultaneously rather than just 3. I can change this limit to as many as I want but to reduce strain on the server and because there is such a thing as too many, the limit is set to 5 for now. When you upload a log, there is quite a bit of pre-processing that is done to make the BB Code possible. How fast they load for the viewer depends entirely on the size of the JSON data that is created as well as the speed of the client device that will be rendering the graph.

Also you can choose your Y axis before or after you upload your log. If you find that a parameter is being plotted on the wrong scale, you can go in and adjust the Y axis thresholds so the parameters are drawn better. I believe I have the threshold limit for Y axis set to a maximum of 8.

Additionally, you can edit a chart and even delete an individual CSV so it no longer appears. You can also download a CSV from an existing chart and add it to another that way you can make the perfect set of logs to share with someone with a single link. No more need to send your tuner four or five links as you can edit the CSVs within a chart and put all the pulls you want them to see in one spot. Personally, this avoids a situation when I don't know which log has the pull I want so I just upload them all and 2 out of 3 of the logs don't show any meaningful data. This makes it easier to sort and organize your log files in case you've accidentally uploaded a log with nothing inside, duplicates, etc.
 
  • Like
Reactions: Jeffman and langsbr