RX7Club.com - Mazda RX7 Forum

RX7Club.com - Mazda RX7 Forum (https://www.rx7club.com/)
-   Wolf 3D (https://www.rx7club.com/wolf-3d-125/)
-   -   Wolf 3D wolf3d to tewblog datalog converter (https://www.rx7club.com/wolf-3d-125/wolf3d-tewblog-datalog-converter-678179/)

nyt 08-08-07 05:22 PM

wolf3d to tewblog datalog converter
 
So, since the wolf datalog reviewing is so awful, I made a little script to convert it to tewblog format.

I have my techedge wbo2 device 5v out wired to the wolf so the data being logged is all coming from the wolf.

Tell me that this isn't neat =]

Can now do matrix analysis of the wolf log files with accurate AFRs =]

anyway

Code:

#!/bin/bash

count=0

if [ ! $1 ];then exit;fi
if [ ! $2 ];then exit;fi

cat $1 | grep \\. | awk -F, '{print  ",_" ($14 * 2 + 9) - (($14 * 2 + 9) % .01) ",_" $4 ",_0,_" $6 ",_" $14 ",_" $5 ",_" $9 ",_" $12 }' | grep -v ',_,_,' > $1.1

echo 'DIY-WB Logger Version 2.1e - by Justin Luton
Log Date: Wednesday August 08, 2007 - 04:10:40
TIME, Gasoline AFR, RPM, Manifold Pressure (kPa/psi), Boost (psi), o2 (volts), Load, Duty Cycle, Air Temp (c), Error' > $2


for a in `cat $1.1`
        do
                echo -n `echo $count \* .001 | bc `
                echo $a
                count=$[$count+67]

done | sed 's/_/ /g' | sed 's/$/, 0, /g' >> $2
rm $1.1

first arg is input file, second is output file.

Here is a screen shot, showing duty cycle, load band, rpm, afr, air temp (c), and boost (as wolf sees it, this is always higher than what other map sensors see I notice)

This is just reving it in my driveway, I'm going to replace this img with one of an actual pull shortly.

http://countercultured.net/pics/logs/wolflog.png

raddavey 08-08-07 08:45 PM

Very nice. So how does this differ from the one Michael Smith did? Did you use the wolf v4 software to do the datalogging or Micheal Smiths datalogger?

nyt 08-08-07 08:57 PM

v4 software

Michael Smith 08-09-07 06:29 AM

:shocking: :shocking: yippy another Linux man!! Good stuff nyt :)


Cheers

Michael Smith
Ex RH5.2
Ex RH7.3
Ex RH 9.0
Current Mandrake 10.2
Current Fedora Core 6 soon 2 B Core 7
Current Mepis
Current XP pro
Current Win98

raddavey 08-09-07 11:34 PM

Can a program be written to read directly from the wolf with the tewblog? Rather than datalogging with wolf or Michaels datalogger than converting over?

Now that would be awesome!

nyt 08-10-07 02:38 AM


Originally Posted by raddavey (Post 7221725)
Can a program be written to read directly from the wolf with the tewblog? Rather than datalogging with wolf or Michaels datalogger than converting over?

Now that would be awesome!

that would be tough. You'd have to do some virtual serial devices and have a program read from the wolf and output it to the virtual serial port that tewblog is reading from. Datalogging from the wolf software is trivial, doesn't really matter either way.

Now to either replace the Y pipe in my exhaust or run the wastegate back into it so I can have stable boost.

raddavey 08-13-07 06:20 AM

how do you get the 5volt input to datalog?? I had a look at one of my excel datalog files and there doesn't seem to be a column for the input voltages.

I'm contemplating getting a PLX SMAFR and hooking the 5volt output to the wolf and datalogging that. However i'm unsure if i should go the R-300 unit instead.

nyt 08-13-07 07:46 AM


Originally Posted by raddavey (Post 7229965)
how do you get the 5volt input to datalog?? I had a look at one of my excel datalog files and there doesn't seem to be a column for the input voltages.

I'm contemplating getting a PLX SMAFR and hooking the 5volt output to the wolf and datalogging that. However i'm unsure if i should go the R-300 unit instead.

I wired it up to the o2 sensor input. It saves the data as voltage readings instead of AFR. It does not display the readings properly in its own datalogging code, which sucks anyway, so I made the converter to use it in tewblog

raddavey 08-13-07 09:09 AM

ah ok so the wolf o2 input can read up to 5volts.
Cheers for that.


All times are GMT -5. The time now is 06:04 PM.


© 2024 MH Sub I, LLC dba Internet Brands