View Single Post
Old 01-11-2014, 12:57 AM   #1
stugray
Banned
 
Join Date: Sep 2013
Drives: 2013 GBS BRZ Limited
Location: Colorado
Posts: 1,925
Thanks: 627
Thanked 1,445 Times in 711 Posts
Mentioned: 41 Post(s)
Cant make a simple log work with my OP2.0 standalone

I cannot get the following simple log to work on the BRZ.

here is the logcfg.txt:

type=adc

paramname=battvolts
paramid=16 ; OBD pin
scalingrpn=x,0.001,* ; here we scale to volts


paramname=throtpos
paramid=8 ; OBD pin
scalingrpn=x,0.001,* ; here we scale to volts


;-------------triggers---------------
;


conditionrpn = battvolts,0.0,>
action = start


Here's the logcfg.out file:

001: type=adc
: name[type,8] value[adc,0,0.000000]
002: paramname=battvolts
: name[paramname,16] value[battvolts,0,0.000000]
003: paramid=16 ; OBD pin
: name[paramid,17] value[16,16,16.000000]
004: scalingrpn=x,0.001,* ; here we scale to volts
: name[scalingrpn,18] value[x,0.001,*,0,0.000000]
005: paramname=throtpos
: name[paramname,16] value[throtpos,0,0.000000]
006: paramid=8 ; OBD pin
: name[paramid,17] value[8,8,8.000000]
007: scalingrpn=x,0.001,* ; here we scale to volts
: name[scalingrpn,18] value[x,0.001,*,0,0.000000]
008: ;-------------triggers---------------
009: ;
010: conditionrpn = battvolts,0.0,>
: name[conditionrpn,48] value[battvolts,0.0,>,0,0.000000]
011: action = start
: name[action,49] value[start,0,0.000000]

--- log config dump ---

firmware version is: 1.14.4010
the following general options are set:
* interpolate missing samples
* zero sample count at start of each file

channel type: adc

param name: battvolts
param id: 0x00000010
scaling: x,0.001000,*

param name: throtpos
param id: 0x00000008
scaling: x,0.001000,*

trigger action: start condition: battvolts,0.000000,>

--- storage info ---
log channels: 1
log parameters: 2
log stringlist: 29 chars
log floatlist: 2 floats
logging interval will be 1000000us



It just sits and does not log anything.
What am I doing wrong?

Anyone else want to try it and see if it works for you?
All I am trying to do is log the battery voltage and the voltage on pin 8 of the OBD connector (OEM8)
stugray is offline   Reply With Quote