Page 65 of 72 FirstFirst ... 15556061626364656667686970 ... LastLast
Results 961 to 975 of 1070

Thread: new $EE tuning thing!

  1. #961
    LT1 specialist steveo's Avatar
    Join Date
    Aug 2013
    Posts
    4,002
    in controller.h:

    Code:
    private slots:
    ...
    void new_ecm_info();
    ...
    in controller.cpp:
    Code:
    void controller::new_ecm_info() {
      // do your thing here, this function will be called when info gets loaded
    }
    in launcher.cpp, void launcher::on_interface_loaded():

    Code:
      //---- SIGNALS FROM MODE4 CONTROLLER
      connect(mode4controller,SIGNAL(send_new_note(QString)),notes,SLOT(add_new_note(QString)));
      connect(acqthread,SIGNAL(updated_ecm_info()),mode4controller,SLOT(new_ecm_info()));

  2. #962
    Fuel Injected!
    Join Date
    Mar 2013
    Posts
    1,469
    Code:
    connect(acqthread,SIGNAL(updated_ecm_info()),mode4controller,SLOT(new_ecm_info()));
    That was the missing line. I put it in void launcher::prepare_acqthread() to make it work.

    The other one was already there.
    Now everything works good. Somehow I even managed to make the slider remember cyl trim settings. I used slightly different approach than the one you suggested. Now it`s all set and needs some cleaning.
    Next thing to do is put two buttons MAF and SD for MAF/SD switching. I will let you know if I need some more help.

  3. #963
    Fuel Injected!
    Join Date
    Sep 2012
    Location
    washington indiana
    Age
    69
    Posts
    884
    this is a wild thread

  4. #964
    Fuel Injected!
    Join Date
    Mar 2013
    Posts
    1,469
    Hi Steveo,

    How do you like the new interface I made. It is almost done with some small bugs fixed.
    I added a visual sign to show engaged items since you can get lost with the extra switches.
    I need to add the new patches and it will be almost done.
    I am open to any ideas you might have.

    Do you have somewhere the latest v6 source code you were working on? I might try to clean it up a bit and make a basic version.
    Attached Images Attached Images

  5. #965
    Fuel Injected! spfautsch's Avatar
    Join Date
    Apr 2015
    Location
    Montgomery City, MO
    Age
    52
    Posts
    883
    I'm anxious to test this out! Unfortunately I'm several weeks away from having something running to test on.

    One suggestion I would make on the slider(s) is to hook the valueChanged() event instead of the sliderMoved() event if you aren't already. I did this with the idle, spark advance and AFR sliders but I don't know if you're working from a version that had those changes.

    The difference is that the sliderMoved() event is only raised in response to mouse clicking, while valueChanged() responds to any change whether it's initiated by using the arrow keys on the keyboard or the mouse. Personally, I detest using a mouse / touchpad / touchscreen when a good old-fashioned keyboard is available.

  6. #966
    Fuel Injected!
    Join Date
    Mar 2013
    Posts
    1,469
    I have tested it most of the time with keyboard arrows, so it should be valueChanged() already. I will rework the sliders because the key step on some of them is too big for fine tune. Thanks for reminding me doing it.

  7. #967
    Fuel Injected! spfautsch's Avatar
    Join Date
    Apr 2015
    Location
    Montgomery City, MO
    Age
    52
    Posts
    883
    Perfect! I'd found it's next to impossible to use a touchpad or even a mouse to adjust these while sitting in an idling car with a choppy cam.

    You're awesome for implementing the individual trims patch! That's something I asked about this time last year. I'm still somewhat in disbelief that you made it happen - you're not just screwing with us all are you? ;-)

  8. #968
    Fuel Injected!
    Join Date
    Mar 2013
    Posts
    1,469
    No screwing. It was on my high priority list. Command interface was the biggest obstacle so far, but since my coding skills improved drastically, now it is all done. It might need some optimization the way t-side sends the info to e-side, but that`s not that hard to do. I will test it on car when the weather improves a bit, so far bench test are succesfull.

  9. #969
    LT1 specialist steveo's Avatar
    Join Date
    Aug 2013
    Posts
    4,002
    How do you like the new interface I made. It is almost done with some small bugs fixed.
    looks good! i'm glad you got what you wanted with the individual cylinder trim. what's with the crazy green and grey control backgrounds though?

    Do you have somewhere the latest v6 source code you were working on? I might try to clean it up a bit and make a basic version.
    it didn't get very far, i might have chucked it. the problem was always that i had never written a qt program before eehack, so i definitely spent all my time trying to get the ui to cooperate.. i didn't spend enough time on abstraction (so you could easily redo parameters for different ECMs). the definition file was definitely a start, though. technically if you rewrite the definition properly, it should connect to a V6 ecm without too much reprogramming and at least datalog, but the rest of the program is a different story.

    there's a lot i would do differently now.

    i've often thought of writing something like eehack but as adaptable as tunerpro, but i don't think there's enough people tuning this old stuff for it to be worth the massive effort it would take.

  10. #970
    LT1 specialist steveo's Avatar
    Join Date
    Aug 2013
    Posts
    4,002
    have you tried, just for fun, just making a basic definition file for the v6 to see if it connects? might just take a new "connection mode" kind of like we did with the b-body and y-body variants that were having trouble

    it would be nice if it was built into eehack instead of a fork

  11. #971
    Fuel Injected!
    Join Date
    Oct 2013
    Posts
    1,022
    Nice changes. Did the line pressure slider get changed to command 0-96 as it is moved from 0 to 100%?

  12. #972
    Fuel Injected!
    Join Date
    Mar 2013
    Posts
    1,469
    When you enable some control it goes green. When disabled it goes grey. That way you can track what`s on and what have been used since program start.
    It got so crowded on the interface that you can easily overlook something left on.

    I will try some v6 commands on the def file. Might need some small changes on the command list. I guess the dash get the data from datastream definition and need exact match as description on the definition. If that`s the case will be very easy to add some other cars support. One of the great things in open source code projects, you can easily add new features.

    lionelhutz the slider change the value from $00 to $60 in hex or 0-96 in decimal. Shouldn`t it be $00-$96 in hex.

  13. #973
    Fuel Injected!
    Join Date
    Oct 2013
    Posts
    1,022
    Pretty sure its 96 in decimal. It has to match to the 0-96 "psi" of the force motor table.

  14. #974
    Fuel Injected! spfautsch's Avatar
    Join Date
    Apr 2015
    Location
    Montgomery City, MO
    Age
    52
    Posts
    883
    Quote Originally Posted by kur4o View Post
    I will test it on car when the weather improves a bit, so far bench test are succesfull.
    I'm hoping to have mine running tonight or tomorrow and I'd love to test, any chance you could post a zip of the source or create a fork on github?

  15. #975
    Fuel Injected!
    Join Date
    Mar 2013
    Posts
    1,469
    Since I haven`t time to test it yet, the patches were not implemented in eehack yet.
    You have to apply patch manualy, from the xdf I provided.

    Insert only patches with the following names from SD_AIRFLOW_PATCH folder:
    v2_[Tside....
    delta ve +....
    end of inject.....
    Cyltrim realtime.....

    Ignore any indeterminate data does not match error by first pressing remove patch , than apply patch.

    If you still have troubles, send me a bin and I will apply the needed patches.
    Attached Files Attached Files
    Last edited by kur4o; 04-22-2018 at 09:47 AM.

Similar Threads

  1. 1badcell and thats not the only thing
    By 1badcell in forum Introductions
    Replies: 2
    Last Post: 12-31-2013, 02:25 AM
  2. Replies: 6
    Last Post: 11-27-2012, 09:03 PM
  3. Replies: 2
    Last Post: 11-07-2012, 05:26 PM
  4. Minor thing.
    By historystamp in forum GearHead EFI Forum Support
    Replies: 7
    Last Post: 01-22-2012, 12:00 AM

Bookmarks

Posting Permissions

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