PCM Logger XML

They go by many names, P01, P59, VPW, '0411 etc. Also covering E38 and newer here.
bubba2533
Posts: 498
Joined: Wed Apr 11, 2018 8:50 am
cars: 03 Chevy S10 Turbo V6

PCM Logger XML

Post by bubba2533 »

I see a few different types of XML files that seem to be for defining parameters and I don't really understand the intent of each one. I would like to help out defining some basic parameters for a few OS's. I'm sure there are basic SAE PID's that could be defined as well, but I'm not sure how these files all fit together or if each OS will need it's own XML.

This is from PcmHammer018 release

Code: Select all

Parameters.Standard.xml
Parameters.SAE.xml
Parameters.RAM.xml
Parameters.Math.xml
Parameters.12593358.xml
Parameters.DidNotWork.xml
Also it seems there are different type of formats within those files and I'm not sure which is the correct one.

Parameters.SAE.xml :

Code: Select all

	<Parameter DefineBy="SAE" Name="Engine Load" Address="0x4">
		<Conversion Name="Percentage" Value="x * 100.0 / 255.0"/>
	</Parameter>
Parameters.Standard.xml :

Code: Select all

    <Parameter
        id="0004"
        name="Engine Load"
        description=""	
        storageType="uint8"
        bitMapped="False">
        <Conversion units="%" expression="(x/2.55)" format="0.00" />
    </Parameter>
Parameters.RAM.xml :

Code: Select all

    <Parameter Name="Load" DefineBy="Address" ByteCount="2" Address="0xFFAAEA">
      <Conversion Name="g/cyl" Expression="x/2048.0" />
    </Parameter>
Parameters.12593358.xml :

Code: Select all

  <RamParameter
    id="RamLoad"
    name="Load"
    description=""
    storageType="uint16"
    bitMapped="False">
    <Location os="12593358" address="0xFFAAEA" />
    <Conversion units="g/cyl" expression="x/2048.0" format="0.00" />
  </RamParameter>
LS1 Boost OS V3 Here. For feature suggestions post in here Development Thread. Support future development ->Patreon.
User avatar
Gampy
Posts: 2331
Joined: Sat Dec 15, 2018 7:38 am

Re: PCM Logger XML

Post by Gampy »

Not sure about the others but Parameters.Standard.xml should be current.

-Enjoy
Intelligence is in the details!

It is easier not to learn bad habits, then it is to break them!

If I was here to win a popularity contest, their would be no point, so I wouldn't be here!
bubba2533
Posts: 498
Joined: Wed Apr 11, 2018 8:50 am
cars: 03 Chevy S10 Turbo V6

Re: PCM Logger XML

Post by bubba2533 »

That seems to work for PID parameters, but I can't get anything to work for RAM parameters.

I've tried to add to Parameters.RAM.xml and I created Parameters.12587603.xml and neither would work.
LS1 Boost OS V3 Here. For feature suggestions post in here Development Thread. Support future development ->Patreon.
User avatar
Gampy
Posts: 2331
Joined: Sat Dec 15, 2018 7:38 am

Re: PCM Logger XML

Post by Gampy »

I'm sure NSFW knows this off the top of his head ...

I have no way to test the logger (that I know of), so I know little about it, I can read the code though so I'll look see what I can figure out for you if he doesn't beat me to your answer!

Parameters.RAM.xml has been recently updated.

[edit]
Can I assume that you used Parameters.RAM.xml as a template to create Parameters.12587603.xml and changed the "Location" element to suit 12587603 ??
Intelligence is in the details!

It is easier not to learn bad habits, then it is to break them!

If I was here to win a popularity contest, their would be no point, so I wouldn't be here!
bubba2533
Posts: 498
Joined: Wed Apr 11, 2018 8:50 am
cars: 03 Chevy S10 Turbo V6

Re: PCM Logger XML

Post by bubba2533 »

I tried adding this to Parameters.RAM.xml

Code: Select all

  <RamParameter
    id="Test Throttle Position"
    name="RAM Throttle Position"
    description="Unconfirmed."
    storageType="uint16"
    bitMapped="False">
    <Location os="12587603" address="0xFFAB64" />
    <Conversion units="Raw" expression="x" format="0.00" />
  </RamParameter>
I also tried creating Parameters.12587603.xml similar to how Parameters.12593358.xml is defined.

Code: Select all

    <Parameter Name="Throttle Position" DefineBy="Address" ByteCount="2" Address="0xFFAB64">
      <Conversion Name="Raw" Expression="x" />
    </Parameter>
LS1 Boost OS V3 Here. For feature suggestions post in here Development Thread. Support future development ->Patreon.
User avatar
Gampy
Posts: 2331
Joined: Sat Dec 15, 2018 7:38 am

Re: PCM Logger XML

Post by Gampy »

Parameters.RAM.xml is proper, I don't think Parameters.12593358.xml is ...

Try creating Parameters.12587603.xml from Parameters.RAM.xml.
bubba2533 wrote:

Code: Select all

  <RamParameter
    id="Test Throttle Position"
    name="RAM Throttle Position"
    description="Unconfirmed."
    storageType="uint16"
    bitMapped="False">
    <Location os="12587603" address="0xFFAB64" />
    <Conversion units="Raw" expression="x" format="0.00" />
  </RamParameter>
No spaces in "ID" ... Otherwise this looks good as long as the address is valid.

I do not know any 12587603 RAM Addresses off the top of my head ...

Parameters.Standard.xml, Parameters.Math.xml, Parameters.RAM.xml are the only ones most likely to be accurate, they get loaded as defaults when PCMLogger opens ...
Intelligence is in the details!

It is easier not to learn bad habits, then it is to break them!

If I was here to win a popularity contest, their would be no point, so I wouldn't be here!
bubba2533
Posts: 498
Joined: Wed Apr 11, 2018 8:50 am
cars: 03 Chevy S10 Turbo V6

Re: PCM Logger XML

Post by bubba2533 »

Nope that didn't fix it.
LS1 Boost OS V3 Here. For feature suggestions post in here Development Thread. Support future development ->Patreon.
User avatar
Gampy
Posts: 2331
Joined: Sat Dec 15, 2018 7:38 am

Re: PCM Logger XML

Post by Gampy »

I'm obviously misunderstanding how to use the logger ...

There is no way to load a Parameters.12587603.xml.

I do not know if folks are expected to expand the Parameters.Standard.xml, Parameters.Math.xml and Parameters.RAM.xml or what, they are the only .xml files used by PCMLogger that I see.

Then there is the .LogProfile ... The LogProfile is for selecting what (that is previously defined) you want in the log.

You can add a Parameter to Parameters.Standard.xml and it winds up in the Parameters tab, however I have yet to find how it uses Parameters.RAM.xml (other then loading it), still looking.

I have tried adding a Parameters.RAM.xml parameter to My.LogProfile, it fails to include it in the log.
Intelligence is in the details!

It is easier not to learn bad habits, then it is to break them!

If I was here to win a popularity contest, their would be no point, so I wouldn't be here!
User avatar
Gampy
Posts: 2331
Joined: Sat Dec 15, 2018 7:38 am

Re: PCM Logger XML

Post by Gampy »

Ah Ha!

Create a Parameters.RAM.xml entry of your choice,
Example:

Code: Select all

  <RamParameter
    id="MyRamLoad"
    name="MyLoad"
    description="Testing 123"
    storageType="uint16"
    bitMapped="False">
    <Location os="12587603" address="0xFFAAEA" />
    <Conversion units="Raw" expression="x" format="0.00" />
  </RamParameter>
Then add that entry to your .LogProfile
Example:

Code: Select all

    <RamParameters>
        <RamParameter id="MyRamLoad" units="Raw" />
    </RamParameters>
Worked for me, how about you ??

-Enjoy

[Edit]
BTW, Spacy "ID's" do in fact work.
Select your .LogProfile every time, it appears there is a loading issue, like a horse before the kart issue, it picks up the standard stuff but not the RAM stuff so it seems.

[Edit2]
Anyone know a valid RAM location in 12587603 that should have a known value ??
Someplace to retrieve a known for testing ...
Intelligence is in the details!

It is easier not to learn bad habits, then it is to break them!

If I was here to win a popularity contest, their would be no point, so I wouldn't be here!
bubba2533
Posts: 498
Joined: Wed Apr 11, 2018 8:50 am
cars: 03 Chevy S10 Turbo V6

Re: PCM Logger XML

Post by bubba2533 »

That still didn't work for me.

0xFFAB64 is throttle position.
LS1 Boost OS V3 Here. For feature suggestions post in here Development Thread. Support future development ->Patreon.
Post Reply