Wolf 3D Discuss the Wolf 3D Engine Management System

Wolf 3D wolf3d to tewblog datalog converter

Thread Tools
 
Search this Thread
 
Old 08-08-07, 05:22 PM
  #1  
nyt
Rotary Enthusiast

Thread Starter
iTrader: (1)
 
nyt's Avatar
 
Join Date: Feb 2001
Location: long island
Posts: 1,259
Received 4 Likes on 4 Posts
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.

Old 08-08-07, 08:45 PM
  #2  
Full Member

 
raddavey's Avatar
 
Join Date: Apr 2006
Location: Perth, WA
Posts: 103
Likes: 0
Received 0 Likes on 0 Posts
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?
Old 08-08-07, 08:57 PM
  #3  
nyt
Rotary Enthusiast

Thread Starter
iTrader: (1)
 
nyt's Avatar
 
Join Date: Feb 2001
Location: long island
Posts: 1,259
Received 4 Likes on 4 Posts
v4 software
Old 08-09-07, 06:29 AM
  #4  
Rotary Enthusiast

 
Michael Smith's Avatar
 
Join Date: Feb 2004
Location: North Queensland Australia
Posts: 778
Likes: 0
Received 0 Likes on 0 Posts
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
Old 08-09-07, 11:34 PM
  #5  
Full Member

 
raddavey's Avatar
 
Join Date: Apr 2006
Location: Perth, WA
Posts: 103
Likes: 0
Received 0 Likes on 0 Posts
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!
Old 08-10-07, 02:38 AM
  #6  
nyt
Rotary Enthusiast

Thread Starter
iTrader: (1)
 
nyt's Avatar
 
Join Date: Feb 2001
Location: long island
Posts: 1,259
Received 4 Likes on 4 Posts
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.
Old 08-13-07, 06:20 AM
  #7  
Full Member

 
raddavey's Avatar
 
Join Date: Apr 2006
Location: Perth, WA
Posts: 103
Likes: 0
Received 0 Likes on 0 Posts
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.
Old 08-13-07, 07:46 AM
  #8  
nyt
Rotary Enthusiast

Thread Starter
iTrader: (1)
 
nyt's Avatar
 
Join Date: Feb 2001
Location: long island
Posts: 1,259
Received 4 Likes on 4 Posts
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
Old 08-13-07, 09:09 AM
  #9  
Full Member

 
raddavey's Avatar
 
Join Date: Apr 2006
Location: Perth, WA
Posts: 103
Likes: 0
Received 0 Likes on 0 Posts
ah ok so the wolf o2 input can read up to 5volts.
Cheers for that.
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
spokanerxdude
Megasquirt Forum
3
10-06-15 12:28 PM
Robrods64
New Member RX-7 Technical
6
10-02-15 07:56 PM



Quick Reply: Wolf 3D wolf3d to tewblog datalog converter



All times are GMT -5. The time now is 10:38 PM.