Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Help to make Calc PIDs in V8

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Lifetime Member wesam's Avatar
    Join Date
    May 2010
    Posts
    660

    Default Help to make Calc PIDs in V8

    Hello EFI Live team
    I hope there will be a tutorial to help make Calculated PIDs in V8

    Thanks in advance
    EFILive Tuner

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

    Default

    I thought the was a thread which briefly showed how, but I can't find it I'll look for it.


    In the meantime see attached example file from my folder C:\Users\joecar\Documents\EFILive\V8\Config (remove the .txt from the end of the filename).

    Code:
    [Groups]
    GLOBAL=Global Functions
    WO2SER=Wide Band O2 Sensors (Serial-Comms)
    WO2CAN=Wide Band O2 Sensors (CAN-bus)
    
    [GLOBAL]
    FUNCTION="Global Functions",factor,0
    
    [GLOBAL.FUNCTION]
    0=|-- GLOBAL.FUNCTION
    1=|function iff(x,y,z)
    2=|if (x) then return y else return z end
    3=|end
    
    [WO2SER]
    WO2BEN="Base Efficiency Numerator (Serial-Comms)(Dynamically-Leanest)",factor,3
    
    [WO2SER.WO2BEN]
    0=|-- WO2SER.WO2BEN
    1=|return iff(pid("WO2LAM1")>pid("WO2LAM2"),pid("WO2LAM1"),pid("WO2LAM2"))*pid("EQIVRATIO")
    
    [WO2CAN]
    WO2BEN="Base Efficiency Numerator (CAN-bus)(Dynamically-Leanest)",factor,3
    
    [WO2CAN.WO2BEN]
    0=|-- WO2CAN.WO2BEN
    1=|return iff(pid("WO2S11")>pid("WO2S21"),pid("WO2S11"),pid("WO2S21"))/pid("EQ_RAT")
    Attached Files Attached Files
    Last edited by joecar; June 20th, 2017 at 05:06 AM.

  3. #3
    Lifetime Member
    Join Date
    Feb 2007
    Posts
    594

    Default

    Hi Joe, which folder does this attachment reside, i put it in C:\Users\Andy\Documents\EFILive\V8\Config. I cant see the pids when i open V8 scan. I can manage calc pids in V7.5, need a push in the right direction
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Screenshot 2018-03-08 21.02.07.png 
Views:	209 
Size:	105.8 KB 
ID:	21893   Click image for larger version. 

Name:	Screenshot 2018-03-08 21.01.46.png 
Views:	275 
Size:	165.7 KB 
ID:	21894  

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

    Default

    Post your UserCalculatedPids.ini file here, let me look in it...

  5. #5
    Lifetime Member
    Join Date
    Feb 2007
    Posts
    594

    Default

    Hi Joe, downloaded and moved your UserCalculatedpids.ini file to the said location, I dont see the calc pids show up up in the right hand pane nor the pid editor, i took some screen shots
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Screenshot 2018-03-09 04.38.53.png 
Views:	240 
Size:	182.9 KB 
ID:	21898   Click image for larger version. 

Name:	Screenshot 2018-03-09 04.36.48.png 
Views:	204 
Size:	204.8 KB 
ID:	21899   Click image for larger version. 

Name:	Screenshot 2018-03-09 04.37.10.png 
Views:	254 
Size:	137.7 KB 
ID:	21900   Click image for larger version. 

Name:	Screenshot 2018-03-09 04.39.01.png 
Views:	283 
Size:	152.1 KB 
ID:	21901   Click image for larger version. 

Name:	Screenshot 2018-03-09 04.41.09.png 
Views:	235 
Size:	137.2 KB 
ID:	21902  

    Click image for larger version. 

Name:	Screenshot 2018-03-09 04.41.13.png 
Views:	161 
Size:	123.7 KB 
ID:	21903   Click image for larger version. 

Name:	Screenshot 2018-03-09 04.42.00.png 
Views:	206 
Size:	105.4 KB 
ID:	21904  

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

    Default

    Why not just use the built in Calc PIDs editor?

    In the Scan Window, click the drop down arrow on the [Options] button and select "Calculated PIDs" (or just use the Ctrl+K hot key).

    Calc PIDs in data logs are updated instantly (when you close the calc pids editor, or click [Apply]) , no need to try and understand/edit the calc pid *.ini data files.

    Regards
    Paul
    Before asking for help, please read this.

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

    Default

    Quote Originally Posted by Blacky View Post
    Why not just use the built in Calc PIDs editor?

    In the Scan Window, click the drop down arrow on the [Options] button and select "Calculated PIDs" (or just use the Ctrl+K hot key).

    Calc PIDs in data logs are updated instantly (when you close the calc pids editor, or click [Apply]) , no need to try and understand/edit the calc pid *.ini data files.

    Regards
    Paul
    Paul, you meant the down arrow on the [Config] button.

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

    Default

    Quote Originally Posted by joecar View Post
    Paul, you meant the down arrow on the [Config] button.
    Yes, I'm getting too old for this...
    Regards
    Paul
    Before asking for help, please read this.

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

    Default

    Yes, the file UserCalculatedPids.ini correctly resides in that folder C:\Users\Andy\Documents\EFILive\V8\Config

    When you open V8 S&T, click Scan, look over in the RH pane (yellow) Available PIDs, expand Calculated, you should see your pids here.

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

    Default

    Quote Originally Posted by Gelf VXR
    Hi Joe, if i am following correctly, create a group name (up to me), create a pid name (up to me), copy and paste code in its entirety, save job done?
    Yes, pretty much, as long as the syntax of the pasted code is correct...

    when editing the pid equation in V8, there is a button fx Test to check that the pid is correctly syntaxed.


    That button is also available if you double click on a pid in the green pane.

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 1
    Last Post: January 29th, 2015, 10:14 AM
  2. CALC.PIDs
    By COONDOG96 in forum Tips and tricks
    Replies: 83
    Last Post: January 25th, 2014, 02:03 PM
  3. Can someone help me out with calc.pids
    By pavetim in forum Gen III V8 Specific
    Replies: 18
    Last Post: January 24th, 2011, 04:30 AM
  4. Calc Pids
    By minytrker in forum External A/D inputs
    Replies: 3
    Last Post: February 19th, 2010, 04:39 AM
  5. CALC pids
    By purrvert in forum General
    Replies: 3
    Last Post: October 24th, 2005, 11:32 PM

Posting Permissions

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