Page 2 of 5 FirstFirst 12345 LastLast
Results 11 to 20 of 42

Thread: OBDSim now supports multiple ECUs and trouble codes

  1. #11
    SuperMod - OBDII GPS Logger forum
    Auto Apps:loading...

    Join Date
    Mar 2009
    Location
    Los Angeles
    Posts
    924
    Thank-you!

    Gary (-;
    OBDGPSLogger, for logging OBDII and/or GPS data
    OBDSim, an OBDII/ELM327 software simulator
    mp3car forums: obdgpslogger, obdsim

  2. #12
    VENDOR - ScanTool Vitaliy's Avatar
    Join Date
    Dec 2006
    Location
    Phoenix, AZ
    Posts
    624
    Pretty neat!

    Got it connected to COM8, values seem to be changing fine, but the header is wrong.

    So, how do you switch the protocol, add ECUs, etc?
    OBDLink MX: world's smallest, fastest, most advanced OBD/Bluetooth adapter with SW and MS CAN support. Read the review to learn more.
    Need to look up a diagnostic trouble code? Try the most up-to-date, free DTCsearch.com!

    You cannot send me a private message using this forum. Use my email instead: vitaliy[@]scantool.net.

  3. #13
    SuperMod - OBDII GPS Logger forum
    Auto Apps:loading...

    Join Date
    Mar 2009
    Location
    Los Angeles
    Posts
    924
    I don't currently have a switch protocol process [wouldn't have done me much good before I understood the different protocol headers available, anyways :-D].

    Adding ECUs is easy - just specify more generators. Something like:
    Code:
    obdsim -g Cycle -g Logger -s ces2010.db
    Tells it to create two ECUs. The first one is with the cycle generator, the second is reading an obdgpslogger logfile. Point it to a valid logfile, for most of my testing nowadays I use ces2010.db, since it has about four and a half uninterrupted hours of running time :-)

    Gary (-;
    OBDGPSLogger, for logging OBDII and/or GPS data
    OBDSim, an OBDII/ELM327 software simulator
    mp3car forums: obdgpslogger, obdsim

  4. #14
    SuperMod - OBDII GPS Logger forum
    Auto Apps:loading...

    Join Date
    Mar 2009
    Location
    Los Angeles
    Posts
    924
    Or alternatively, since it seems my webhost is now down,
    obdsim -g Cycle -g gui_fltk -g Cycle
    To see two ECUs doing pretty much the same thing, and one whose values are chosen by a small, ugly, GUI

    Gary (-;
    OBDGPSLogger, for logging OBDII and/or GPS data
    OBDSim, an OBDII/ELM327 software simulator
    mp3car forums: obdgpslogger, obdsim

  5. #15
    SuperMod - OBDII GPS Logger forum
    Auto Apps:loading...

    Join Date
    Mar 2009
    Location
    Los Angeles
    Posts
    924
    There's a poor man's rendering of the obdgpslogger manpages online, now, here:
    http://icculus.org/obdgpslogger/manpages/

    Specifically, the obdsim manpage covers multiple ECU usage:
    http://icculus.org/obdgpslogger/manp...der/obdsim.txt

    When I get home tonight, I'll commit the code that makes the ECU numbering work right.

    Gary (-;
    OBDGPSLogger, for logging OBDII and/or GPS data
    OBDSim, an OBDII/ELM327 software simulator
    mp3car forums: obdgpslogger, obdsim

  6. #16
    SuperMod - OBDII GPS Logger forum
    Auto Apps:loading...

    Join Date
    Mar 2009
    Location
    Los Angeles
    Posts
    924
    New windows version, with working ECU addresses:
    http://icculus.org/obdgpslogger/down...2010-03-12.zip



    Hopefully this is a lot closer to the correct way to do this stuff!

    Gary (-;
    OBDGPSLogger, for logging OBDII and/or GPS data
    OBDSim, an OBDII/ELM327 software simulator
    mp3car forums: obdgpslogger, obdsim

  7. #17
    Low Bitrate remus08's Avatar
    Join Date
    Mar 2010
    Location
    FRANCE
    Posts
    56
    Hi Gary,

    Great work! I'm succesful reach to made it work with my OBD software...
    I didn't take time to test all functionality of OBDsim. I was writing a simulator too, but I guess it's stupid to do the same thing twice. If I can help to improve yours, it could be good.

    Unfortunaltely I didn't reach to open the *.db file (I works with windows). How can I do?
    I assume if I create a right db file, I can create answer to all OBD2 mode, can't I?
    or using a log file?

  8. #18
    SuperMod - OBDII GPS Logger forum
    Auto Apps:loading...

    Join Date
    Mar 2009
    Location
    Los Angeles
    Posts
    924
    Thanks!

    The .db file is a log from my other software, obdgpslogger. I have several available for download; ces2010.db is the one I usually use, as it has a four and a half hour uninterrupted drive :-)

    Download it from here: http://icculus.org/obdgpslogger/examples/ces2010/, specifically you want this file.

    When you run obdsim, pass the path to that file. If you're launching from the command-line, you can just put ces2010.db in the same directory as obdsim.exe, and run from there.

    Of course, you don't have to use the logger generator - in the current windows build, there's also Cycle [the default], gui_fltk, and I think others [Random is broken, but it's pretty useless anyway]

    Gary (-;
    OBDGPSLogger, for logging OBDII and/or GPS data
    OBDSim, an OBDII/ELM327 software simulator
    mp3car forums: obdgpslogger, obdsim

  9. #19
    SuperMod - OBDII GPS Logger forum
    Auto Apps:loading...

    Join Date
    Mar 2009
    Location
    Los Angeles
    Posts
    924
    remo08; in case it's relevant, I've expanded the manpage for obdsim to include a list of the supported AT commands. If you can't read manpages [ie, you're on windows], I have text renderings online. The obdsim one is here:
    http://icculus.org/obdgpslogger/manp...der/obdsim.txt

    Gary (-;
    OBDGPSLogger, for logging OBDII and/or GPS data
    OBDSim, an OBDII/ELM327 software simulator
    mp3car forums: obdgpslogger, obdsim

  10. #20
    VENDOR - ScanTool Vitaliy's Avatar
    Join Date
    Dec 2006
    Location
    Phoenix, AZ
    Posts
    624
    Excellent work, indeed!
    OBDLink MX: world's smallest, fastest, most advanced OBD/Bluetooth adapter with SW and MS CAN support. Read the review to learn more.
    Need to look up a diagnostic trouble code? Try the most up-to-date, free DTCsearch.com!

    You cannot send me a private message using this forum. Use my email instead: vitaliy[@]scantool.net.

Page 2 of 5 FirstFirst 12345 LastLast

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
  •