Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 38

Thread: Calculated pids

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

    Default

    Yes, save it to replace/overwrite your current file.


    The calc pid CALC.CADEG is already pre-defined in the V7 scantool... on the PIDs tab click on the column heading "Parameter" (the last column on the right) to sort on that column, then scroll down until you see CALC.CADEG, on this pid do rightclick->More Info, look at the defined expression, does it match your V8 calc pid for CADEGLBZ...?

    If it is different then post a screenshot of how you have it defined in V8, and I'll add it to your V7 calc_pid.txt file.

  2. #12
    Member
    Join Date
    Aug 2008
    Posts
    68

    Default

    Quote Originally Posted by joecar View Post
    Yes, save it to replace/overwrite your current file.


    The calc pid CALC.CADEG is already pre-defined in the V7 scantool... on the PIDs tab click on the column heading "Parameter" (the last column on the right) to sort on that column, then scroll down until you see CALC.CADEG, on this pid do rightclick->More Info, look at the defined expression, does it match your V8 calc pid for CADEGLBZ...?

    If it is different then post a screenshot of how you have it defined in V8, and I'll add it to your V7 calc_pid.txt file.
    Thanks! Yes it is different. It uses a different pid to calculate from than the other one. I will get you that pic tomorrow at some point. Appreciate you taking your time to help me

  3. #13
    Member
    Join Date
    Aug 2008
    Posts
    68

    Default

    Well those 2 work. The other one I am uploading a pic of the code. I tried and failed to write the code where I thought it would work. I wouldn't recognize °, or degrees, degree as a Unit of measure.

    calc_pids.txt

    Click image for larger version. 

Name:	cal pid.jpg 
Views:	327 
Size:	77.8 KB 
ID:	18308

  4. #14
    Member
    Join Date
    Aug 2008
    Posts
    68

    Default

    Also, just curious. What happens if the logged data goes over the "high" in the pid txt. file? I just put a 30 in there for a safeish number

  5. #15
    EFILive Developer Site Admin Blacky's Avatar
    Join Date
    Mar 2003
    Posts
    9,490

    Default

    Quote Originally Posted by x MadMAX DIESEL View Post
    Also, just curious. What happens if the logged data goes over the "high" in the pid txt. file? I just put a 30 in there for a safeish number
    Nothing, those min/max values are only used when you add a PID to a gauge or a chart so the gauge/chart know what default min/max values to put on the scale.

    Regards
    Paul
    Before asking for help, please read this.

  6. #16
    Member
    Join Date
    Aug 2008
    Posts
    68

    Default

    Quote Originally Posted by Blacky View Post
    Nothing, those min/max values are only used when you add a PID to a gauge or a chart so the gauge/chart know what default min/max values to put on the scale.

    Regards
    Paul
    Okay just as long as nothing will stop reading past the high or lower. Awesome

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

    Default

    Quote Originally Posted by x MadMAX DIESEL View Post
    Well those 2 work. The other one I am uploading a pic of the code. I tried and failed to write the code where I thought it would work. I wouldn't recognize °, or degrees, degree as a Unit of measure.

    calc_pids.txt

    Click image for larger version. 

Name:	cal pid.jpg 
Views:	327 
Size:	77.8 KB 
ID:	18308
    In V7 scantool, the units you want are "deg" or "CAdeg".

    Regarding min and max in the calc_pids.txt: like Paul said, the Chart/Guage uses those as the min/max tick marks... adjust them to get the waveform/needle close to the middle of the chart/gauge.

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

    Default

    Try the attached calc_pids.txt.


    ( I did not check, but is GM.MAIN1T_DMA with units us (microseconds) valid in V7 scantool...? Probably is. )
    Attached Files Attached Files

  9. #19
    Member
    Join Date
    Aug 2008
    Posts
    68

    Default

    Quote Originally Posted by joecar View Post
    Try the attached calc_pids.txt.


    ( I did not check, but is GM.MAIN1T_DMA with units us (microseconds) valid in V7 scantool...? Probably is. )
    Yes, it is. I dont seem to be able to view it still though. (no error messages atleast. I guess maybe I need to log a new one and check again after that cal text doc has been saved?

  10. #20
    Member
    Join Date
    Aug 2008
    Posts
    68

    Default

    Nevermind. Got it working thanks !!

Page 2 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Calculated PIDS?
    By beav in forum Diesel
    Replies: 0
    Last Post: December 3rd, 2013, 03:19 AM
  2. V8 User Calculated PIDs
    By Ninety8C5 in forum Tips and tricks
    Replies: 0
    Last Post: November 17th, 2013, 07:21 AM
  3. Replies: 1
    Last Post: April 27th, 2005, 12:19 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
  •