RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Tue Dec 23, 2025 11:01 am

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 21 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Any Sort of "userlevel" support for RR Logger?
PostPosted: Thu Dec 17, 2020 3:05 am 
Offline
RomRaider Donator
User avatar

Joined: Fri Jul 26, 2019 3:35 am
Posts: 789
Location: United States of America
Hello all!

Are there any plans to incorporate userlevels into the logger? I got a bit carried away and currently have over 1100 RAM parameters defined for my ROM and even though only about 450 are actually added inside the logger, it's quite an extensive list inside the Logger haha If there aren't any plans to add userlevels to the logger, what other ways could I control what parameters show up without having to manually add and remove parameters?

I do utilize the profiles, as they save quite a bit of time from having to scroll through the extensive list, but being able to filter all the parameters would be quite beneficial for specific scenarios that wouldn't warrant a unique profile.

_________________
NissanDefinitions Repository


Top
 Profile  
 
 Post subject: Re: Any Sort of "userlevel" support for RR Logger?
PostPosted: Thu Dec 17, 2020 8:11 pm 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7314
Location: Canada eh!
I'm not aware of any plan.

Once you sort out which each parameter's purpose and which are truly useful, move those to a Logger definition that can be publicly shared and keep your dev version private. There's no use putting out a def with parameters most people will never use and aren't well documented.
Another option would be to create a couple of Logger defs targeted at tuning, or troubleshooting specific types of problems. Then a user switches between them as required.


Top
 Profile  
 
 Post subject: Re: Any Sort of "userlevel" support for RR Logger?
PostPosted: Wed Dec 23, 2020 9:11 pm 
Offline
RomRaider Donator
User avatar

Joined: Fri Jul 26, 2019 3:35 am
Posts: 789
Location: United States of America
dschultz wrote:
I'm not aware of any plan.

Once you sort out which each parameter's purpose and which are truly useful, move those to a Logger definition that can be publicly shared and keep your dev version private. There's no use putting out a def with parameters most people will never use and aren't well documented.
Another option would be to create a couple of Logger defs targeted at tuning, or troubleshooting specific types of problems. Then a user switches between them as required.


Luckily for ME, I’m not really planning on making it publicly available or anything like that haha There isn’t any reason for it. Not when deep code analysis is required for every single ROM just to locate the parameters. Even then, you still need to have even further knowledge to be able to locate them without having a pre-defined ROM to cross reference with. So it’s just for personal use. That would definitely be a good idea though!

Right now, I’m just using a set variable before the name to have it group them up by that. So all my bitwise switches are “~ Parameter” instead of just “Parameter” Speaking of which, can you have those bitwise switches setup as regular switches instead of ECU parameters? All the ones defined currently are in a really weird format.

_________________
NissanDefinitions Repository


Top
 Profile  
 
 Post subject: Re: Any Sort of "userlevel" support for RR Logger?
PostPosted: Wed Dec 23, 2020 9:30 pm 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7314
Location: Canada eh!
Can you provide an example of what switch you are logging, byte, bit and ECU ID?


Top
 Profile  
 
 Post subject: Re: Any Sort of "userlevel" support for RR Logger?
PostPosted: Wed Dec 23, 2020 9:40 pm 
Offline
RomRaider Donator
User avatar

Joined: Fri Jul 26, 2019 3:35 am
Posts: 789
Location: United States of America
Sure thing! This is for CF48D (06 Nissan 350z, so not subie haha) These are two different parameters obviously, but the actual switch is just a global one or something. One that's basically like OBD2 protocol stuff, where it's just generally supported. While the RAM parameter one is ECU specific.

Global(?) Switch
Code:
         <switch id="S7" name="Cls TPS" desc="S7-Cls TPS vSWMONT_R#1" byte="0x221302" bit="0" ecubyteindex="105" storagetype="uint16" target="1" />


ECU RAM Parameter Switch
Code:
   <ecuparam id="ZS1" name="~ High Octane 0 / Regular 1" desc="bfREGGAS" target="1">
               <ecu id="CF48D">
                  <address bit="6">0xFF23AC</address>
               </ecu>
               <conversions>
                  <conversion units="-" storagetype="uint8" expr="x" format="0" />
               </conversions>
            </ecuparam>

_________________
NissanDefinitions Repository


Top
 Profile  
 
 Post subject: Re: Any Sort of "userlevel" support for RR Logger?
PostPosted: Thu Dec 24, 2020 9:18 pm 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7314
Location: Canada eh!
You're close.
Just change to:
Code:
<conversion units="On/Off" expr="x" format="0" gauge_min="0" gauge_max="1" gauge_step="1" />


Top
 Profile  
 
 Post subject: Re: Any Sort of "userlevel" support for RR Logger?
PostPosted: Sat Dec 26, 2020 2:42 pm 
Offline
RomRaider Donator
User avatar

Joined: Fri Jul 26, 2019 3:35 am
Posts: 789
Location: United States of America
Interestingly enough, I was able to get it to register as an actual switch! :o

Code:
<switch id="1" name="High Octane 0 / Regular 1" desc="bfREGGAS" byte="0xFF23AC" bit="6" storagetype="uint8" target="1"/>


Is the ecubyte portion required?

_________________
NissanDefinitions Repository


Top
 Profile  
 
 Post subject: Re: Any Sort of "userlevel" support for RR Logger?
PostPosted: Sat Dec 26, 2020 6:09 pm 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7314
Location: Canada eh!
ecubyte?


Top
 Profile  
 
 Post subject: Re: Any Sort of "userlevel" support for RR Logger?
PostPosted: Sat Dec 26, 2020 6:20 pm 
Offline
RomRaider Donator
User avatar

Joined: Fri Jul 26, 2019 3:35 am
Posts: 789
Location: United States of America
dschultz wrote:
ecubyte?


Yea the "ecubyteindex='105'" part.

Code:
<switch id="S7" name="Cls TPS" desc="S7-Cls TPS vSWMONT_R#1" byte="0x221302" bit="0" ecubyteindex="105" storagetype="uint16" target="1" />

_________________
NissanDefinitions Repository


Top
 Profile  
 
 Post subject: Re: Any Sort of "userlevel" support for RR Logger?
PostPosted: Sat Dec 26, 2020 7:27 pm 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7314
Location: Canada eh!
See correction below.


Top
 Profile  
 
 Post subject: Re: Any Sort of "userlevel" support for RR Logger?
PostPosted: Sat Dec 26, 2020 7:33 pm 
Offline
RomRaider Donator
User avatar

Joined: Fri Jul 26, 2019 3:35 am
Posts: 789
Location: United States of America
dschultz wrote:
Not in this case.


Sweet! Thanks for the help! :)

_________________
NissanDefinitions Repository


Top
 Profile  
 
 Post subject: Re: Any Sort of "userlevel" support for RR Logger?
PostPosted: Sat Dec 26, 2020 7:48 pm 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7314
Location: Canada eh!
Correction.
I you are using the typical SID addressing byte="0x221302" bit="0" you will need the ecubyteindex= as it maps the supported bit returned by the ECU to select this switch for the Logging switch list.
supported bits come from 221300, 221320, 221340, etc.

If you are using the <ecuparam format then no, as the supported fact comes from matching the <ecu id= element.


Top
 Profile  
 
 Post subject: Re: Any Sort of "userlevel" support for RR Logger?
PostPosted: Sat Dec 26, 2020 8:05 pm 
Offline
RomRaider Donator
User avatar

Joined: Fri Jul 26, 2019 3:35 am
Posts: 789
Location: United States of America
dschultz wrote:
Correction.
I you are using the typical SID addressing byte="0x221302" bit="0" you will need the ecubyteindex= as it maps the supported bit returned by the ECU to select this switch for the Logging switch list.
supported bits come from 221300, 221320, 221340, etc.

If you are using the <ecuparam format then no, as the supported fact comes from matching the <ecu id= element.


What if I'm using the switch format, but using 0xFF23AC as the byte instead of a SID address? I've only tested it with one ECUParam set as a switch and it seemed to work just fine. So it's an ECUParameter, but it's just classified as a switch in this case.

Code:
<switch id="1" name="HIGH OCTANE" desc="bfREGGAS" byte="0xFF23AC" bit="6" storagetype="uint8" target="1"/>

_________________
NissanDefinitions Repository


Top
 Profile  
 
 Post subject: Re: Any Sort of "userlevel" support for RR Logger?
PostPosted: Sun Dec 27, 2020 9:24 am 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7314
Location: Canada eh!
What is your identifier to indicate this switch is valid for your particular ECU ID?
That's the purpose of the ecubyteindex= in <switch/> or the <ecu id= in <ecuparam/>.
Without one of these qualifiers the switch will be available for any ECU you connect with and it may not be valid for every ECU.


Top
 Profile  
 
 Post subject: Re: Any Sort of "userlevel" support for RR Logger?
PostPosted: Sun Dec 27, 2020 4:03 pm 
Offline
RomRaider Donator
User avatar

Joined: Fri Jul 26, 2019 3:35 am
Posts: 789
Location: United States of America
dschultz wrote:
What is your identifier to indicate this switch is valid for your particular ECU ID?
That's the purpose of the ecubyteindex= in <switch/> or the <ecu id= in <ecuparam/>.
Without one of these qualifiers the switch will be available for any ECU you connect with and it may not be valid for every ECU.


Ohhhh I see what you mean! So for CF48D, I could just put the ecubyteindex="CF48D" then? Since it's not a universal switch. That actually makes quite a bit more sense now haha

_________________
NissanDefinitions Repository


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 21 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subsilver by phpBBservice.nl