|
||||||
| Software Tuning Discuss all software tuning topics. |
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#29 | |
|
Senior Member
Join Date: Mar 2015
Drives: '13 BRZ
Location: Texas
Posts: 362
Thanks: 179
Thanked 235 Times in 149 Posts
Mentioned: 4 Post(s)
Tagged: 0 Thread(s)
|
Quote:
All values look correct now. Going to do some fixing on the config and add in other parameters. Can't thank you enough. I'll post my final config here once I've cleaned everything up and verified the values. |
|
|
|
|
| The Following User Says Thank You to BRZoomTX For This Useful Post: | steve99 (03-27-2015) |
|
|
#30 |
|
Generally Well Liked
Join Date: Aug 2013
Drives: '08 STi Hatch, '11 Outback 3.6R
Location: Ontario
Posts: 419
Thanks: 43
Thanked 197 Times in 125 Posts
Mentioned: 9 Post(s)
Tagged: 0 Thread(s)
|
I've added a link to the B01C logcfg in the main post.
|
|
|
|
| The Following User Says Thank You to AdrianG For This Useful Post: | burdickjp (06-28-2015) |
|
|
#31 |
|
Senior Member
Join Date: Jan 2015
Drives: 2013 ultramarine Scion FR-S
Location: Royal Oak, MI
Posts: 293
Thanks: 140
Thanked 137 Times in 70 Posts
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
|
|
|
|
|
|
|
#32 |
|
Senior Member
Join Date: Feb 2015
Drives: Toyota GT86
Location: Europe
Posts: 919
Thanks: 369
Thanked 557 Times in 301 Posts
Mentioned: 40 Post(s)
Tagged: 2 Thread(s)
|
I know it's not engine related. But would anyone know or be able to find out if there is a RAM parameter for brake pressure?
Seeing that OFT can log brake pressure over OBD2, I assume Tactrix would be able to as well if the address was known? It would make Tactrix a real valuable tool for track data logging. Here an example of a video with Tactrix log/Datazap overlay. It a bit of work afterward to sync it up, but the result is pretty good. After adding the gear parameter, the only thing missing would be brake pressure. [ame="https://www.youtube.com/watch?v=hC93-8wFo9E"]https://www.youtube.com/watch?v=hC93-8wFo9E[/ame]
__________________
|
|
|
|
|
|
#33 |
|
Senior Member
Join Date: Sep 2017
Drives: 2022 BRZ Limited Silver
Location: Jacksonville, FL
Posts: 2,533
Thanks: 883
Thanked 2,048 Times in 1,190 Posts
Mentioned: 68 Post(s)
Tagged: 0 Thread(s)
|
Does anyone have working addresses for B01C for these functions:
gear brake force steering angle fuel level Also, is there anyway to read the tire pressures and temps? I've never seen any talk of this or even any interest in this. Also, is it just me or do triggers not work at all? It just seems to randomly start and stop the logs. I thought it was because the Tactrix wasn't connected firmly so I added a rubber band and it still just randomly logs. I would like to use the defogger but it isn't working. I do see the defogger in my log so I know I have the right address set for the defogger but it isn't starting or stopping when I press it. Here is a sample: Code:
type = obd protocolid = 6 mode23txaddrwidth = 4 mode23txlenwidth = 1 mode23rxaddrwidth = 0 mode23uds = 1 sortpids = 1 calcsampinterval = 1000 paramname = rpm paramid = 0xFFF89570 isfloat = 1 paramname = defogger_sw paramid = 0xFFF8939F databits = 8 isvisible = 1 conditionrpn = defogger_sw,1,== action = start conditionrpn = defogger_sw,0,== action = stop |
|
|
|
|
|
#34 |
|
Senior Member
Join Date: Sep 2017
Drives: 2022 BRZ Limited Silver
Location: Jacksonville, FL
Posts: 2,533
Thanks: 883
Thanked 2,048 Times in 1,190 Posts
Mentioned: 68 Post(s)
Tagged: 0 Thread(s)
|
As a simple work around for my inability to get the defogger to start stop logs I decided to write a simple PowerShell script that will take a log and then export individual logs containing just the samples where the defogger is turned on.
Split-Log.ps1: Code:
param (
[Parameter(Mandatory=$true)][string]$filename
)
$logNum = 0
$logStart = $false
$logSamples = @()
foreach ($sample in (ConvertFrom-Csv (Get-Content -Path $filename))) {
if ($sample.defogger_sw -eq 1) {
if($logStart -eq $false) {
$logStart = $true
$logNum++
$logSamples += $sample
} else {
$logSamples += $sample
}
} elseif ($logStart -eq $true) {
$logStart = $false
$logSamples | Export-Csv -Path "$([IO.Path]::GetFileNameWithoutExtension($filename)).$($logNum)$([IO.Path]::GetExtension($filename))" -NoTypeInformation
$logSamples = @()
}
}
if ($logSamples.length) {
Write-Host "Saving: $([IO.Path]::GetFileNameWithoutExtension($filename)).$($logNum)$([IO.Path]::GetExtension($filename))"
$logSamples | Export-Csv -Path "$([IO.Path]::GetFileNameWithoutExtension($filename)).$($logNum)$([IO.Path]::GetExtension($filename))" -NoTypeInformation
}
Code:
Split-Log.ps1 -filename Log10.csv Last edited by ermax; 09-29-2017 at 10:02 PM. |
|
|
|
|
|
#35 |
|
Senior Member
Join Date: Sep 2017
Drives: 2022 BRZ Limited Silver
Location: Jacksonville, FL
Posts: 2,533
Thanks: 883
Thanked 2,048 Times in 1,190 Posts
Mentioned: 68 Post(s)
Tagged: 0 Thread(s)
|
Here is another handy script I wrote. It runs though all your removable drives looking for one that contains the file logcfg.txt. Once it finds the file it create a new folder named with the date (Ex: 2017-10-06 10.11AM) and moves all the csv files off the removable drive and into this new folder. Once it's done moving the files it then launches your web browser and goes to the datazap upload page, then it launches explorer in the new dated folder so all you have to do then is drag and drop the csv file. Once it's all done it also ejects the removable drive so you are safe to unplug the USB cable from the Tactrix.
The dated folders will be created in the same folder in which you launched the script. Here is the script: Copy-Logs.ps1 Code:
foreach ($drive in Get-WmiObject Win32_LogicalDisk | Where-Object {$_.DriveType -eq 2}) {
If ((Test-Path "$($drive.DeviceID)\logcfg.txt") -and (Test-Path "$($drive.DeviceID)\*.csv")) {
$OutputPath = ".\$((Get-Date).ToString("yyyy-MM-dd hh.mmtt"))"
New-Item -Path $OutputPath -Type Directory
Move-Item -Path "$($drive.DeviceID)\*.csv" -Destination $OutputPath
Start-Process https://datazap.me/upload-csv
Start-Process $OutputPath
$Eject = New-Object -ComObject Shell.Application
$Eject.NameSpace(17).ParseName($drive.DeviceID).InvokeVerb("Eject")
}
}
Start-Sleep 2
https://www.amazon.com/female-panel-...G89MRDVZTMV492 |
|
|
|
|
|
#36 | |
|
Senior Member
Join Date: Feb 2015
Drives: Toyota GT86
Location: Europe
Posts: 919
Thanks: 369
Thanked 557 Times in 301 Posts
Mentioned: 40 Post(s)
Tagged: 2 Thread(s)
|
Quote:
![]() These two from the other thread: Gear: paramname = gear paramid = 0xFFF895DA databits = 8 Fuel level: paramname = FuelLev paramid = 0xFFF8D28C isfloat = 1 (Edit: sorry these 2 are for A01G. Hope they can help you forward anyway.)
__________________
|
|
|
|
|
|
|
#37 | |
|
Senior Member
Join Date: Sep 2017
Drives: 2022 BRZ Limited Silver
Location: Jacksonville, FL
Posts: 2,533
Thanks: 883
Thanked 2,048 Times in 1,190 Posts
Mentioned: 68 Post(s)
Tagged: 0 Thread(s)
|
Quote:
https://github.com/erik-smit/j2534-logger It is a J2534 proxy dll. It emulates an OBD2 interface and then proxies the commands over to a real ODB2 interface. It logs all the commands to a text file. I tested it in Toyota Techstream and it works. So I am thinking maybe I can use the logs to discover some of the other channels. Techstream does let you log brake force so I know it's possible. Also, I noticed that Techstream has the ability to log to a proprietary format but after creating the log there is a way to export the log to a CSV file. I had to open the CSV file and remove some stuff from the header and then it imported into datazap perfectly. So maybe you could go that route for your logging. Only problem is you end up with a laptop in the car you would have to secure really well if your tracking it. I have a tiny little netbook that fits perfectly in the glove box but you hear it shift back and forth a tad when transitioning from right to left which would be annoying on the track. Here is a small sample recorded with Techstream and then exported to CSV: https://datazap.me/u/ermax/log-1507310738/?log=0&data=2 I was just idled in the driveway so not very interesting. |
|
|
|
|
| The Following User Says Thank You to ermax For This Useful Post: | Tor (10-06-2017) |
|
|
#38 | |
|
Senior Member
Join Date: Feb 2015
Drives: Toyota GT86
Location: Europe
Posts: 919
Thanks: 369
Thanked 557 Times in 301 Posts
Mentioned: 40 Post(s)
Tagged: 2 Thread(s)
|
Quote:
The logger sounds interesting. If you have success, perhaps you could write a small how-to guide and I would do it for A01G and share it. Looking at those files in Github, I would have no idea what to do with them.
__________________
|
|
|
|
|
|
|
|
|
| Tags |
| ecuflash, op2, openport, standalone logging |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Data logging for noobs - OFT | Shad0ez | Software Tuning | 18 | 11-07-2016 08:20 PM |
| school me on data logging | fatoni | Tracking / Autocross / HPDE / Drifting | 11 | 01-09-2014 10:54 PM |
| Toyota Data Logging CAN for GT6 | Luckrider | Software Tuning | 1 | 11-23-2013 03:03 PM |
| ECUTEK Logging | pdreams | Engine, Exhaust, Transmission | 5 | 02-05-2013 11:06 AM |