Welcome to the North American Subaru Impreza Owners Club Thursday March 28, 2024
Home Forums Images WikiNASIOC Products Store Modifications Upgrade Garage
NASIOC
Go Back   NASIOC > NASIOC Technical > Engine Management & Tuning > Open Source Reflashes

Welcome to NASIOC - The world's largest online community for Subaru enthusiasts!
Welcome to the NASIOC.com Subaru forum.

You are currently viewing our forum as a guest, which gives you limited access to view most discussions and access our other features. By joining our community, free of charge, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is free, fast and simple, so please join our community today!

If you have any problems with the registration process or your account login, please contact us.







* As an Amazon Associate I earn from qualifying purchases. 
* Registered users of the site do not see these ads. 
Reply
 
Thread Tools Display Modes
Old 10-20-2009, 02:57 PM   #1
jarencibia
Scooby Specialist
 
Member#: 187021
Join Date: Aug 2008
Chapter/Region: Tri-State
Location: NJ
Vehicle:
2004 WRX Sedan
PSM

Default Openport 2.0 Standalone Logging

I just started playing with the openport 2.0 standalone logging beta. It works nicely if you set up your logcfg file correctly....laptop free logging

http://forums.openecu.org/viewtopic....9763b02a18e0d6
* Registered users of the site do not see these ads.
jarencibia is offline   Reply With Quote
Sponsored Links
* Registered users of the site do not see these ads.
Old 10-27-2009, 08:06 PM   #2
jarencibia
Scooby Specialist
 
Member#: 187021
Join Date: Aug 2008
Chapter/Region: Tri-State
Location: NJ
Vehicle:
2004 WRX Sedan
PSM

Default

Here's a sample logcfg file that I modified from Colby's sample file for MAF scaling data.



Code:
;uncomment the line below to minimize the information written to logcfg.out
; this will greatly decrease the startup time to begin logging if you already
; have a working logcfg.txt without any problems

;debug=noout

; sample logging configuration file for openport 2.0
; must be named logcfg.txt and be placed in the root directory of the
; microSD card inserted in the openport in order to work

; this sample logs using the SSM protocol over the K-line, which works
; for both CAN-based and older Subarus

;----------------ssm----------------
; log channel settings

; we are logging SSM via the K-line
type=ssmk				

; each parameter gets a name you chose
paramname = RPM				

; the paramid is used in the SSM request
paramid = 0x0E				

; how many bits in the returned value (defaults to 8, so you usually don't ;need to specify ;this)
databits = 16				

; how to scale the results using a RPN ;(http://en.wikipedia.org/wiki/Reverse_Polish_notation) notation, with data and ; operators seperated by commas
; the operators are as following:
;       + : add
;       - : subtract
;       * : multiply
;       / : divide
;
;       x : represents the raw (unscaled) parameter
; 123.456 : example of a constant
;
; if no scaling is specified, the raw value will be used
;
; the OP2 has no FPU - it must do floating point calculations in software which can 
; create performance issues, so be efficient in your RPN expressions by doing the following:
;
; * minimize the number of operations; e.g. ((x * 2) + 1) * 2 => x * 4 + 2
; * don't divide by a constant when you can multiply instead; e.g. x / 4 => x * 0.25
; * don't make constant expressions that can instead be pre-calculated; e.g. x * 3 / 4 => x * 0.75

scalingrpn = x,0.25,*	

; commented out here is an example for reading a direct RAM parameter, a 32-bit float in this case
;paramname = load
;paramid = 0xFF6578
;isfloat = 1 ; the raw data is a 32-bit floating point number (no need to set databits = 32)

paramname = IAT
paramid = 0x012
scalingrpn = x,40,-,1.8,*,32,+
;scaled in F


paramname = coolant_temp
paramid = 0x008
scalingrpn = x,40,-,1.8,*,32,+
;scaled in F


paramname = MAF
paramid = 0x013
databits = 16				
scalingrpn = x,0.01,*
;g/s

paramname = MAFv
paramid = 0x01D
scalingrpn = x,0.02,*
;v

paramname = AFC#1
paramid = 0x009
scalingrpn = x,128,-,0.781,*
;%

paramname = AFL#1
paramid = 0x00A
scalingrpn = x,128,-,0.781,*
;%

;-------------triggers---------------
;
; note that parameters must be previously defined 
; before defining triggers using them
;
; triggers allow you to control when logging starts and stops
; this example sets up triggers such that logging only occurs
; when the engine is running (RPM > 0)
;
; triggers consist of a condition (a RPN expression using comparison operators)
; and an action. the RPN comparison operators match those in the C language:
;
; > < >= <= == != && ||
;
; if the condition evaluates to a non-zero value, that action is taken

conditionrpn = RPM,0,>,coolant_temp,180,>,&&
action = start

conditionrpn = RPM,0,==
action = stop

Last edited by jarencibia; 11-06-2009 at 10:42 AM. Reason: Load parameter borked
jarencibia is offline   Reply With Quote
Old 10-28-2009, 04:53 PM   #3
davis10
Scooby Specialist
 
Member#: 70011
Join Date: Sep 2004
Chapter/Region: NESIC
Location: Bozeman, MT
Default

Cool! Has anyone set it up to control logging with the rear defogger button.
davis10 is offline   Reply With Quote
Old 10-28-2009, 07:06 PM   #4
jarencibia
Scooby Specialist
 
Member#: 187021
Join Date: Aug 2008
Chapter/Region: Tri-State
Location: NJ
Vehicle:
2004 WRX Sedan
PSM

Default

Quote:
Originally Posted by davis10 View Post
Cool! Has anyone set it up to control logging with the rear defogger button.
Yes in the original sample log file Colby already provided a trigger for using the defogger switch but I deleted it in mine.


; here is a second triggering example using the rear defogger switch
; uncomment it and comment out the sample above to use it

;paramname = defogger_sw
;paramid = 0x64
;databits = 1
;offsetbits = 5
;isvisible = 0

;conditionrpn = defogger_sw,1,==
;action = start

;conditionrpn = defogger_sw,0,==
;action = stop

Last edited by jarencibia; 11-10-2009 at 10:30 AM.
jarencibia is offline   Reply With Quote
Old 10-28-2009, 11:30 PM   #5
GrundleJuice
Scooby Specialist
 
Member#: 165749
Join Date: Dec 2007
Location: Detroit, MF'er!
Default

makes me wish i had a 2.0... anyone want to trade a 1.3 for a 2.0?
GrundleJuice is offline   Reply With Quote
Old 10-31-2009, 09:42 PM   #6
freakin
Scooby Newbie
 
Member#: 223239
Join Date: Sep 2009
Default

testers wanted for a beta tool for creating the logcfg.txt file
http://forums.openecu.org/viewtopic.php?f=57&t=4396
freakin is offline   Reply With Quote
Old 11-06-2009, 10:40 AM   #7
jarencibia
Scooby Specialist
 
Member#: 187021
Join Date: Aug 2008
Chapter/Region: Tri-State
Location: NJ
Vehicle:
2004 WRX Sedan
PSM

Default

Ok I'm down for testing and will DOO EET
jarencibia is offline   Reply With Quote
Old 11-09-2009, 11:40 AM   #8
SenseiL2007
Scooby Newbie
 
Member#: 219696
Join Date: Aug 2009
Chapter/Region: Tri-State
Location: Rochester NY
Vehicle:
2004 STi
PSM

Default

How big a card do you run?? Does it work off defog??

Last edited by SenseiL2007; 11-09-2009 at 11:51 AM.
SenseiL2007 is offline   Reply With Quote
Old 11-09-2009, 01:07 PM   #9
MichaelBurton
Scooby Newbie
 
Member#: 229452
Join Date: Nov 2009
Default

I have a few questions and some additional paramids

1. Do I need to read the flag bytes? If not how do I access the bytes?

I read the flag byte with the ignition switch.

paramname = IGNITIONsw
paramid = 0x062
;bool

I used it like this.
conditionrpn = IGNITIONsw,8,==
action = start

conditionrpn = IGNITIONsw,8,!=
action = stop

I would like to be able to get this data without adding it to the log file. I only need it so that I can make some logic.

I would also like to be able to perform logic operations in the scalingrpn.

Can you provide some Simple shift left and right operations in the scalingrpn?

paramname = Load %
paramid = 0x07
scalingrpn = x,0.392157,*
;Load is scaled in percent, multiplier = 100/255

paramname = coolant_temp
paramid = 0x008
scalingrpn = x,40,-,1.8,*,32,+
;scaled in F

paramname = AFC#1
paramid = 0x009
scalingrpn = x,128,-,0.781,*
;%

paramname = AFL#1
paramid = 0x00A
scalingrpn = x,128,-,0.781,*
;%

paramname = RPM
paramid = 0x0E
databits = 16
scalingrpn = x,.25,*

paramname = IAT
paramid = 0x012
scalingrpn = x,40,-,1.8,*,32,+
;scaled in F

paramname = MAF
paramid = 0x013
databits = 16
scalingrpn = x,0.01,*
;g/s

paramname = MAFv
paramid = 0x01D
scalingrpn = x,0.02,*
;v

paramname = O2sensor
paramid = 0x01A
databits = 16
scalingrpn = x,0.005,*
;volts

paramname = injector#1width
paramid = 0x020
scalingrpn = x,0.256,*
;ms

paramname = Roughness
paramid = 0x0CE
;unknown scale

paramname = Air/fuel%correction
paramid = 0x01A
scalingrpn = x,1.28,*
;%

paramname = IGNITIONsw
paramid = 0x062
;bool


Mike
MichaelBurton is offline   Reply With Quote
Old 11-09-2009, 01:10 PM   #10
MichaelBurton
Scooby Newbie
 
Member#: 229452
Join Date: Nov 2009
Default

I also noticed that the minimum rpm reported was 25. You will need to take this into account if you use rpm to end the log.

Mike
MichaelBurton is offline   Reply With Quote
Old 11-09-2009, 01:20 PM   #11
MichaelBurton
Scooby Newbie
 
Member#: 229452
Join Date: Nov 2009
Default

To get and test the defogger like I did with the ignition use this.

paramname = Defoggersw
paramid = 0x064
;bool the id is bit 5 or the value 16

conditionrpn = Defoggersw,16,&&
action = start

conditionrpn = 0,Defoggersw,16,&&,==
action = stop
MichaelBurton is offline   Reply With Quote
Old 11-16-2009, 03:30 PM   #12
Sicarius
Scooby Newbie
 
Member#: 207229
Join Date: Mar 2009
Chapter/Region: NWIC
Location: Joliet, MT
Vehicle:
2006 WRX wagon
Graphite

Default

Use this link to download the config tool for setting up a config file for your sd tactrix. Once downloaded just pick your ecu from the dropdown and then check off the parameters you wish to log, then save the file to the main directory of your SD card.

http://forums.openecu.org/viewforum....e11a45c31f7470
Sicarius is offline   Reply With Quote
Old 03-22-2010, 06:09 PM   #13
MotogpD
Scooby Newbie
 
Member#: 184498
Join Date: Jul 2008
Chapter/Region: MAIC
Location: Hampton Roads, VA
Vehicle:
2007 STi Ltd
UGM

Default

Wanted to toss my name in the ring as well. I am still trying to set up my logcfg file for all of the info I want, but right now I am trying to overcome and issue when logging with K-Line. My OP2 shows it is logging during the entire run, but the CSV only contains 5 points of data (up to the timestamp of 1.2). Posted over on the openecu forum and am talking with Colby about it. I have an 07 STI if anyone has any advice...

Also, is there a good resource to find what the paramid (and logical scalingrpn values) are for every piece of data that the ECU sees? Would using the Romraider Logger definitions help guide me to what I can set up to autolog (and all the info for each set of data)? I have not fooled with the autoconfig utility in the above post, that might solve this question...

Thanks for any advice, and I apologize if this isn't the most up to date OP2 standalone thread, this is the first one I found...
MotogpD is offline   Reply With Quote
Old 03-22-2010, 06:54 PM   #14
MotogpD
Scooby Newbie
 
Member#: 184498
Join Date: Jul 2008
Chapter/Region: MAIC
Location: Hampton Roads, VA
Vehicle:
2007 STi Ltd
UGM

Default

OK, a quick update. My logger now logs using the RPM parameter to intiate and stop the log (and actually captures more the 5 points). Using the defogger switch to trigger is a bit sketchy, it doesn't seem to log properly and when I turn the ignition off, it creates another log that has all kinds of garbage readings.

I set the RPM to start logging > 900 and will post some logs (probably start a new thread). After modifying the script to add in some extra parameters, and remove a couple, the defogger switch also does not log properly (I deleted the paramter with a similar paramid, not sure if that is the problem).

Will keep tweaking the log...anyone else still actively playing with the standalone feature on the OP2?
MotogpD is offline   Reply With Quote
Old 06-03-2010, 09:34 PM   #15
jet8300
Scooby Specialist
 
Member#: 115844
Join Date: May 2006
Chapter/Region: MWSOC
Location: Grand Rapids, Michigan
Vehicle:
2018 WRX
CWP

Default

Anybody using this and an LC-1 Wideband? I am finding it impossible to find any information about this. I ordered a 2.5mm male to male connector from ebay because I couldn't find one anywhere else. I just got it today and it won't plug in to the LC-1 female connector. I'd like to stay away from hacking up connectors and stuff.
jet8300 is offline   Reply With Quote
Old 06-06-2010, 03:50 AM   #16
warmup
Scooby Newbie
 
Member#: 233425
Join Date: Dec 2009
Default

did anyone noticed that this standalone logger is much faster than romraider logger? is this because there is no COM speed limit?
warmup is offline   Reply With Quote
Old 06-06-2010, 08:42 PM   #17
jarencibia
Scooby Specialist
 
Member#: 187021
Join Date: Aug 2008
Chapter/Region: Tri-State
Location: NJ
Vehicle:
2004 WRX Sedan
PSM

Default

Quote:
Originally Posted by MotogpD View Post
Wanted to toss my name in the ring as well. I am still trying to set up my logcfg file for all of the info I want, but right now I am trying to overcome and issue when logging with K-Line. My OP2 shows it is logging during the entire run, but the CSV only contains 5 points of data (up to the timestamp of 1.2). Posted over on the openecu forum and am talking with Colby about it. I have an 07 STI if anyone has any advice...

Also, is there a good resource to find what the paramid (and logical scalingrpn values) are for every piece of data that the ECU sees? Would using the Romraider Logger definitions help guide me to what I can set up to autolog (and all the info for each set of data)? I have not fooled with the autoconfig utility in the above post, that might solve this question...

Thanks for any advice, and I apologize if this isn't the most up to date OP2 standalone thread, this is the first one I found...
I have the same problem with data missing. I've read that it may be due to electromagnetic noise and some people have used a few ferrite rings around the wiring at the obd2 port to clean up the signal. Supposedly it works. I haven't tried it myself yet.
jarencibia is offline   Reply With Quote
Old 06-06-2010, 11:42 PM   #18
MechEE
Scooby Newbie
 
Member#: 196770
Join Date: Dec 2008
Default

I've been using this OP 2.0 stand-alone logging for a while now with my Innovate LC-1 and it has been great! I've had a few hiccups trying to figure out how to log certain things like FLKC, but overall it works very well and logs over 25 samples per second! Not bad.
MechEE is offline   Reply With Quote
Old 06-07-2010, 10:57 AM   #19
warmup
Scooby Newbie
 
Member#: 233425
Join Date: Dec 2009
Default

working with LC-1 is a problem, my defogger(08STi) turns off itself suddenly is another bothersome problem.
warmup is offline   Reply With Quote
Old 06-07-2010, 11:54 AM   #20
_MFB_
Scooby Newbie
 
Member#: 219676
Join Date: Aug 2009
Chapter/Region: International
Location: The Philippines
Vehicle:
09 Forester XT
Steel Silver

Default

IN romraider, you can log switches such as rad fan. How do you do this via OP2?

Freakin, can you update your app to include this?

To ensure you guys get logs working properly, make sure paramname you use wont exceed 512 characters. Currently, there's a bug that will make logger stop or not work at all when this has been exceeded. I just rename my parameters and have it at around 450 total for around 24 parameters.
_MFB_ is offline   Reply With Quote
Old 06-21-2010, 03:48 PM   #21
jet8300
Scooby Specialist
 
Member#: 115844
Join Date: May 2006
Chapter/Region: MWSOC
Location: Grand Rapids, Michigan
Vehicle:
2018 WRX
CWP

Default

I'm not getting more than 10 samples per second. How are you guys getting more?
jet8300 is offline   Reply With Quote
Old 06-30-2010, 03:52 PM   #22
bcheck555
Scooby Newbie
 
Member#: 174930
Join Date: Mar 2008
Location: Virginia Beach VA
Vehicle:
2002 WRX
Silver

Default

Quote:
Originally Posted by jet8300 View Post
I'm not getting more than 10 samples per second. How are you guys getting more?
Your getting 10 samples per second with the new openport stand-alone logger? how many parameters are you logging? Trying to get a feel for the speed vs. romraider to see if it's worth the cost. I have an '02 as well. Thanks.
bcheck555 is offline   Reply With Quote
Old 06-30-2010, 03:58 PM   #23
jet8300
Scooby Specialist
 
Member#: 115844
Join Date: May 2006
Chapter/Region: MWSOC
Location: Grand Rapids, Michigan
Vehicle:
2018 WRX
CWP

Default

That was with 20 parameters. Looking at my logs I'm not sure it's updating every parameter each .1 second.
jet8300 is offline   Reply With Quote
Old 10-30-2010, 07:40 PM   #24
aaronkrider
Scooby Newbie
 
Member#: 250044
Join Date: Jun 2010
Chapter/Region: MWSOC
Location: NE Indiana and Chicago Burbs
Vehicle:
2002 WRX

Default

Bump from the dead.
Has anyone tried using the AEM UEGO output with this? I've looked and haven't really found any solid directions for connections. My serial out works fine with RR via USB adapter. Any insight would help.
aaronkrider is offline   Reply With Quote
Old 10-31-2010, 09:16 AM   #25
Mohammadov
*** Banned ***
 
Member#: 110160
Join Date: Mar 2006
Location: STI Engine
Vehicle:
2005 STI+JDM V7 Swap
WRB

Default

I used the Innvoate LC-1 and it worked nicely.
Mohammadov is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tactrix Openport 2.0 Coming Soon! 07-08+ compatible. fujiillin Open Source Reflashes 388 02-21-2009 01:56 AM
Trying to log with Openport 2.0 and not getting far help please. Deserted1 Engine Management & Tuning 2 01-30-2009 03:33 PM
Romraider Openport 2.0 How to Datalog? & Which Parameters I should Log? V8 GTFO Lesbic WGN Open Source Reflashes 4 11-24-2008 11:13 PM
FS: Tactrix Openport 2.0 $160 shipped scoobysti05 Engine/Power/Exhaust 7 10-20-2008 12:30 PM
Anyone have an OpenPort 2.0 in AZ? jblackwell South West Impreza Club Forum -- SWIC 3 10-03-2008 12:20 AM

All times are GMT -4. The time now is 05:49 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Powered by Searchlight © 2024 Axivo Inc.
Copyright ©1999 - 2019, North American Subaru Impreza Owners Club, Inc.

As an Amazon Associate I earn from qualifying purchases.

When you click on links to various merchants on this site and make a purchase, this can result in this site earning a commission
Affiliate programs and affiliations include, but are not limited to, the eBay Partner Network.