Results 1 to 3 of 3

Thread: combining two data bytes to a single output

  1. #1
    Junior Member
    Join Date
    Feb 2009
    Posts
    11

    Default combining two data bytes to a single output

    I have several outputs given to me in two separate data bytes (A004.ds),

    19: Spark Advance 1 - X
    20: Spark Advance 2 - Y

    SA= .01529*(256*X+Y)


    It is the same thing with the injector pulse width

    I want to be able to have the outputs on the dash as final values. I could import a log into excel after taking data and calculate it then, but prefer to be able to see it in real time.

    Problem is that I don't see any way of doing this in the program?

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

    Default

    As long as the two data bytes are next to each other (and they always are for this type of PID), select the byte number of the highest (MSB) value as the starting byte and select the length to be 16 bits. EFILive tkes care of the X*256+Y part of it.

    See image

    Regards
    Paul
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Image1.png 
Views:	223 
Size:	27.1 KB 
ID:	6474  
    Before asking for help, please read this.

  3. #3
    Junior Member
    Join Date
    Feb 2009
    Posts
    11

    Default

    Thanks! I had seen a few 16 bit data bytes before in some of the existing .xml files, but hadn't been able to figure it out for myself.

Similar Threads

  1. ? Converting dsp5 back to single tune
    By boccheballs in forum Duramax 06 LLY / 06+ LBZ & LMM
    Replies: 6
    Last Post: January 29th, 2010, 08:22 AM
  2. LBZ DSP Output?
    By sp6c170 in forum Duramax 06 LLY / 06+ LBZ & LMM
    Replies: 1
    Last Post: November 30th, 2009, 08:41 AM
  3. DSP Output changes
    By GMPX in forum Duramax LB7
    Replies: 5
    Last Post: November 12th, 2009, 12:43 PM
  4. E38 VSS output
    By harascho in forum E37, E38 & E67 PFI ECM's
    Replies: 0
    Last Post: June 29th, 2009, 06:14 PM
  5. How do I delete a single frame?
    By dbaxter_ss in forum General
    Replies: 3
    Last Post: May 4th, 2005, 08:08 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
  •