Results 1 to 3 of 3

Thread: Custom PID: What functions can you use?

  1. #1
    Lifetime Member
    Join Date
    Jan 2007
    Posts
    298

    Default Custom PID: What functions can you use?

    I looked all over the site. Can anyone direct me to the types of mathematical functions that you can use when making a custom PID?

    I would like to check one variable to help determine the outcome of the PID. Possibly, do some filtering/refining during the logging. Just not sure of the syntax of used in EFILive.


    E.G.

    If ( [This GM PID] > 0){
    Custom PID ~= Custom PID
    };

    Just a random example. Not applied to what I want to achieve.
    Thank you in advance.
    Last edited by 2002_z28_six_speed; September 3rd, 2007 at 09:28 AM.

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

    Default

    Quote Originally Posted by Page 94 of EFILive Scan Tool User Manual
    ...
    iff(condition, true_value, false_value)

    condition: an expression.
    true_value: an expression.
    false_value: an expression.

    Return value: true_value if condition evaluates to not zero, false_value if condition evaluates to zero.
    ...
    You want to do this:
    Code:
    iff({GM.PID} > 0, ~{CUSTOM.PID}, {CUSTOM.PID})
    Pids are always enclosed in braces { }.

  3. #3
    Lifetime Member
    Join Date
    Jan 2007
    Posts
    298

    Default

    Oh neat! Is there a file with a complete list somewhere?

Similar Threads

  1. lower/eliminate TC functions.
    By acomp917 in forum 4speed RWD/FWD Transmission Tuning (incl T42)
    Replies: 9
    Last Post: February 23rd, 2010, 08:28 AM
  2. custom OS with efi v1
    By dsmlights in forum Custom Operating Systems
    Replies: 4
    Last Post: December 5th, 2007, 06:28 PM
  3. Why LM-1 Custom PID???????
    By 2002_z28_six_speed in forum General
    Replies: 3
    Last Post: June 3rd, 2007, 11:52 PM
  4. Timing control functions
    By Redline Motorsports in forum General (Petrol, Gas, Ethanol)
    Replies: 11
    Last Post: February 21st, 2006, 05:07 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
  •