Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 32

Thread: V8 Scan - Calculated Pids

  1. #21
    EFILive Developer Site Admin Blacky's Avatar
    Join Date
    Mar 2003
    Posts
    9,119

    Default

    Quote Originally Posted by joecar View Post
    Thanks Paul...

    that's what programming is about, working with what is available;


    I ended up defining my own, the .ini looks like this now:
    I have not tried this, but you should be able to create a group/pid that contains multiple functions. I.e. say a group called "Global" and a PID called "Functions" and then define multiple functions in that Global.Functions "pid definition". Then you could call any of those functions from any calculated PID function.

    Regards
    Paul
    Before asking for help, please read this.

  2. #22
    Joe (Moderator) joecar's Avatar
    Join Date
    Apr 2003
    Posts
    27,752

    Default

    Quote Originally Posted by Blacky View Post

    It seems like a pretty arbitrary and strange pair of tokens to use for block comments but it makes including/excluding blocks of code much easier:

    --[[ I want to exclude the next two lines
    a = b+c
    d = e+f
    --]]

    ---[[ I want to include the next two lines
    a = b+c
    d = e+f
    --]]

    Notice that by just adding another minus sign to the --[[ start comment token, it is no longer a valid start comment block, it is just a single line comment, so the two lines of code are now included again.
    The end comment token is also ignored because it is now just a single line comment.

    Regards
    Paul
    Paul, thanks.

  3. #23
    Joe (Moderator) joecar's Avatar
    Join Date
    Apr 2003
    Posts
    27,752

    Default

    Paul,

    I want to draw your attention to this:

    Click image for larger version. 

Name:	EFILive Scan Tool~000016.png 
Views:	45 
Size:	204.3 KB 
ID:	20565


    and also to this (from post #7 above):

    Click image for larger version. 

Name:	V8_Config_LS1B-0001.pld~000008.png 
Views:	32 
Size:	218.8 KB 
ID:	20566

  4. #24
    Joe (Moderator) joecar's Avatar
    Join Date
    Apr 2003
    Posts
    27,752

    Default

    Also, how do you log from two AEM 03-0334 units...?


    Click image for larger version. 

Name:	Greenshot~000009.png 
Views:	41 
Size:	118.6 KB 
ID:	20567

  5. #25
    Joe (Moderator) joecar's Avatar
    Join Date
    Apr 2003
    Posts
    27,752

    Default

    Quote Originally Posted by Blacky View Post
    I have not tried this, but you should be able to create a group/pid that contains multiple functions. I.e. say a group called "Global" and a PID called "Functions" and then define multiple functions in that Global.Functions "pid definition". Then you could call any of those functions from any calculated PID function.

    Regards
    Paul
    The V8 calc pid editor won't let me spell out Global, it stops after 4 characters... I had to dive into the ini file with Notepad++.



    Click image for larger version. 

Name:	EFILive Scan Tool~000017.png 
Views:	37 
Size:	129.6 KB 
ID:	20568
    Last edited by joecar; December 15th, 2016 at 02:19 PM.

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

    Default

    Quote Originally Posted by joecar View Post
    The V8 calc pid editor won't let me spell out Global, it stops after 4 characters... I had to dive into the ini file with Notepad++.
    Ahh yes, I did that to try and keep the total Group.PID name length to a reasonable size for black box logging.
    It should not be a problem for calculated PIDs, because calc PIDs are not logged/evaluated during black box logging.
    I may look at allowing those group names for calculated PIDs to be longer than 4 characters.

    Regards
    Paul
    Before asking for help, please read this.

  7. #27
    EFILive Developer Site Admin Blacky's Avatar
    Join Date
    Mar 2003
    Posts
    9,119

    Default

    Quote Originally Posted by joecar View Post
    Also, how do you log from two AEM 03-0334 units...?


    Click image for larger version. 

Name:	Greenshot~000009.png 
Views:	41 
Size:	118.6 KB 
ID:	20567

    Right now you can't. It is limited to only 1
    I'm not sure if/when EFILive will support dual AEMs.

    Regards
    Paul
    Before asking for help, please read this.

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

    Default

    Quote Originally Posted by Blacky View Post
    Right now you can't. It is limited to only 1
    I'm not sure if/when EFILive will support dual AEMs.

    Regards
    Paul
    We have been using dual widebands, I tune to the leanest bank dynamically (using iff() in the BEN pid to select the leanest wideband lambda)...

    and since the AEM 03-0334 will have a high sample rate, dual wideband ability (ability to tune to leanest bank) would be a good feature to have.
    Last edited by joecar; December 15th, 2016 at 02:49 PM.

  9. #29
    Joe (Moderator) joecar's Avatar
    Join Date
    Apr 2003
    Posts
    27,752

    Default

    Paul,

    I also see an AV:


    Click image for larger version. 

Name:	EFILive Scan Tool~000018.png 
Views:	50 
Size:	196.9 KB 
ID:	20569

  10. #30
    Member
    Join Date
    Jul 2016
    Posts
    80

    Default

    Getting multi-channel lambda working with EFILive would be tricky. Somehow, both lambda channels would need to be reported by one gauge. So, one gauge would need to listen to the other, and, parrot its data. I guess I could rig up a test version that reports PIDs 0x24 and 0x25 from a single controller.

Page 3 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Calculated pids
    By x MadMAX DIESEL in forum Black Box Logging
    Replies: 37
    Last Post: June 22nd, 2018, 08:26 AM
  2. Calculated PIDS?
    By beav in forum Diesel
    Replies: 0
    Last Post: December 3rd, 2013, 03:19 AM
  3. Calculated pids not displayed on V2
    By ttls1 in forum Black Box Logging
    Replies: 3
    Last Post: October 7th, 2013, 07:47 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
  •