Wolf 3D Discuss the Wolf 3D Engine Management System

Wolf 3D wolf3d to tewblog datalog converter

Thread Tools
 
Search this Thread
 
Old Aug 8, 2007 | 05:22 PM
  #1  
nyt's Avatar
nyt
Thread Starter
Rotary Enthusiast
Tenured Member 20 Years
iTrader: (1)
 
Joined: Feb 2001
Posts: 1,259
Likes: 4
From: long island
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.

Reply
Old Aug 8, 2007 | 08:45 PM
  #2  
raddavey's Avatar
Full Member
Tenured Member 05 Years
 
Joined: Apr 2006
Posts: 103
Likes: 0
From: Perth, WA
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?
Reply
Old Aug 8, 2007 | 08:57 PM
  #3  
nyt's Avatar
nyt
Thread Starter
Rotary Enthusiast
Tenured Member 20 Years
iTrader: (1)
 
Joined: Feb 2001
Posts: 1,259
Likes: 4
From: long island
v4 software
Reply
Old Aug 9, 2007 | 06:29 AM
  #4  
Michael Smith's Avatar
Rotary Enthusiast
Tenured Member 10 Years
 
Joined: Feb 2004
Posts: 778
Likes: 0
From: North Queensland Australia
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
Reply
Old Aug 9, 2007 | 11:34 PM
  #5  
raddavey's Avatar
Full Member
Tenured Member 05 Years
 
Joined: Apr 2006
Posts: 103
Likes: 0
From: Perth, WA
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!
Reply
Old Aug 10, 2007 | 02:38 AM
  #6  
nyt's Avatar
nyt
Thread Starter
Rotary Enthusiast
Tenured Member 20 Years
iTrader: (1)
 
Joined: Feb 2001
Posts: 1,259
Likes: 4
From: long island
Originally Posted by raddavey
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.
Reply
Old Aug 13, 2007 | 06:20 AM
  #7  
raddavey's Avatar
Full Member
Tenured Member 05 Years
 
Joined: Apr 2006
Posts: 103
Likes: 0
From: Perth, WA
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.
Reply
Old Aug 13, 2007 | 07:46 AM
  #8  
nyt's Avatar
nyt
Thread Starter
Rotary Enthusiast
Tenured Member 20 Years
iTrader: (1)
 
Joined: Feb 2001
Posts: 1,259
Likes: 4
From: long island
Originally Posted by raddavey
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
Reply
Old Aug 13, 2007 | 09:09 AM
  #9  
raddavey's Avatar
Full Member
Tenured Member 05 Years
 
Joined: Apr 2006
Posts: 103
Likes: 0
From: Perth, WA
ah ok so the wolf o2 input can read up to 5volts.
Cheers for that.
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
spokanerxdude
Megasquirt Forum
3
Oct 6, 2015 12:28 PM
Robrods64
New Member RX-7 Technical
6
Oct 2, 2015 07:56 PM




All times are GMT -5. The time now is 02:24 AM.