Results 1 to 8 of 8

Thread: calc.pid /sae.generic - pid resoultion question

  1. #1
    Member
    Join Date
    Aug 2011
    Posts
    65

    Default calc.pid /sae.generic - pid resoultion question

    If I reference off a voltage pid that has a resolution .1 in the calc.pid file is that resoultion show only in the scanner or does it round the number if i use that pid in a equasion? such as GM.ACPS has a true voltage of 2.55, this is rounded to 2.6 in the scanner, if i use GM.ACPS in an equasion such as ({GM.ACPS}*3)+7.35 is the answer gonna be 15 or 15.15?

  2. #2
    Joe (Moderator) joecar's Avatar
    Join Date
    Apr 2003
    Posts
    28,403

    Default

    The .1 you see in the calc_pids.txt file is the number of decimal digits to display on the Char/Gauge (i.e. the display format)... it is not the resolution of the analog voltage read.

  3. #3
    Member
    Join Date
    Aug 2011
    Posts
    65

    Default

    Quote Originally Posted by joecar View Post
    The .1 you see in the calc_pids.txt file is the number of decimal digits to display on the Char/Gauge (i.e. the display format)... it is not the resolution of the analog voltage read.
    so since the acp pid is read in steps, (5V / 255 Steps) .02 voltage steps is what the analog voltage reads in? why in the scanner does acp and acps both read in volts, and one not read in steps? whats the point in the (RAW({GM.ACP})/51) and the ACPS pid then?

  4. #4
    Joe (Moderator) joecar's Avatar
    Join Date
    Apr 2003
    Posts
    28,403

    Default

    Yes, correct, 5V in 256 steps (8-bit ADC) has a resolution of 0.02V.

    RAW() gets the raw data for that pid (vs that pid's units-converted value).

    Guess what 1/51 equals (0.02)...

    so RAW({GM.ACP}) is the steps, and diving by 51 converts it to volts.

  5. #5
    Member
    Join Date
    Aug 2011
    Posts
    65

    Default

    Quote Originally Posted by joecar View Post
    Yes, correct, 5V in 256 steps (8-bit ADC) has a resolution of 0.02V.

    RAW() gets the raw data for that pid (vs that pid's units-converted value).

    Guess what 1/51 equals (0.02)...

    so RAW({GM.ACP}) is the steps, and diving by 51 converts it to volts.
    But why when logging gm.acp (which should be the raw unit) do i see volts? there are 2 pids gm.acp (raw) and calc.acps (calculated voltage) both show volts in the logger.

  6. #6
    Joe (Moderator) joecar's Avatar
    Join Date
    Apr 2003
    Posts
    28,403

    Default

    GM.ACP has units V so it will be displayed in V (regardless of its raw value).

    CALC.ACPS also has units V... if you do rightclick->MoreInfo on this pid (on the PIDs tab) you can see it is defined from the raw value (steps) of GM.ACP.

  7. #7
    Member
    Join Date
    Aug 2011
    Posts
    65

    Default

    Quote Originally Posted by joecar View Post
    GM.ACP has units V so it will be displayed in V (regardless of its raw value).

    CALC.ACPS also has units V... if you do rightclick->MoreInfo on this pid (on the PIDs tab) you can see it is defined from the raw value (steps) of GM.ACP.
    so why even have a acps pid then?

  8. #8
    Joe (Moderator) joecar's Avatar
    Join Date
    Apr 2003
    Posts
    28,403

    Default

    I don't know... maybe GM.ACP might be converting to V incorrectly... IDK for sure.

Similar Threads

  1. Problem logging SAE.MAP pid
    By TransAm-Z in forum General (Petrol, Gas, Ethanol)
    Replies: 69
    Last Post: November 22nd, 2017, 08:35 AM
  2. e38 dma pid SCALEDCORVE_ doesnt work plus a bad calc pid
    By ringram in forum FlashScan V2 BB Logging
    Replies: 2
    Last Post: November 30th, 2008, 10:28 AM
  3. Calc PID Question... variance?
    By Goldfinger911 in forum Tips and tricks
    Replies: 0
    Last Post: October 14th, 2008, 07:03 AM
  4. Calc.PID question
    By Elowe65 in forum Diesel
    Replies: 3
    Last Post: March 5th, 2008, 03:52 PM
  5. Calc.PID question
    By Elowe65 in forum General (Diesel)
    Replies: 1
    Last Post: April 30th, 2006, 08:21 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •