Results 1 to 7 of 7

Thread: OBDSim now with multi protocol, benchmarking

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

    Join Date
    Mar 2009
    Location
    Los Angeles
    Posts
    929

    OBDSim now with multi protocol, benchmarking

    This has been discussed on and off in a couple other threads, but I thought I'd put them together in one place.

    I've added a couple features to obdsim recently that may be of interest to forum regulars: Proper multiple protocol support, and benchmarking. Now any time you attempt to use ATSP[A]{1-9} it'll do the right thing, ATH1 will cause it to show headers appropriate to the protocol you have requested.

    For example, here showing two ECUs with J1850 VPW, and 11 and 29 bit CAN:
    Code:
    >ATDP
    SAE J1850 VPW
    >0100
    48 6B 10 41 00 18 1B 80 01
    48 6B 11 41 00 FF FF FF FE
    >ATSPA9
    OK
    >0100
    18 DA F1 10 06 41 00 18 1B 80 01
    18 DA F1 11 06 41 00 FF FF FF FE
    >ATDP
    Auto, ISO 15765-4 (CAN 29/250)
    >ATSP8
    OK
    >0100
    7E8 06 41 00 18 1B 80 01
    7E9 06 41 00 FF FF FF FE
    >ATH0
    OK
    >0100
    41 00 18 1B 80 01
    41 00 FF FF FF FE
    >
    Additionally, I've now added benchmarking. You can pass "-n" or "--benchmark" to enable it [in future I'm thinking I'll just enable it all the time]. --benchmark takes an optional parameter that says how many seconds it should group the benchmarks by [default 10]. For example, with benchmark=5, and running obdgpslogger against it:
    Code:
    chunky@mills:~/src/obdgpslogger/build$ ../bin/obdsim --benchmark=5
    SimPort name: /dev/pts/5
    Successfully initialised obdsim, entering main loop
    0 samples in 5.002191 seconds. 0.00 samples/sec
    0 samples in 5.001282 seconds. 0.00 samples/sec
    Reset
    Echo disabled
    Linefeed disabled
    Spaces disabled
    752 samples in 5.003610 seconds. 150.29 samples/sec
    1065 samples in 5.004683 seconds. 212.80 samples/sec
    1037 samples in 5.004103 seconds. 207.23 samples/sec
    1057 samples in 5.000221 seconds. 211.39 samples/sec
    For windows users, I've finally automated my build process specifically for obdsim on windows. The current version is here: obdsimwindows-2010-06-16.zip. It includes a short text document showing how to use it as well as a text flavor of the manpage.

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

  2. #2
    Admin. Linux loser.
    Auto Apps:loading...
    Bugbyte's Avatar
    Join Date
    Sep 2004
    Location
    Corning, NY
    Posts
    7,364
    Blog Entries
    2
    Well done, Gary! A really nice contribution to the OBDII awesomeness here.
    Quote Originally Posted by ghettocruzer View Post
    I was gung ho on building a PC [until] just recently. However, between my new phone having internet and GPS and all...and this kit...Im starting to have trouble justfiying it haha.
    Want to:
    -Find out about the new iBug iPad install?
    -Find out about carPC's in just 5 minutes? View the Car PC 101 video

  3. #3
    Newbie
    Join Date
    Mar 2010
    Posts
    14
    Agree! Thank you very much Gary!

  4. #4
    Constant Bitrate
    Join Date
    Mar 2005
    Location
    Columbus, OH
    Posts
    189
    Extremely useful software... saves me a boatload of time during development. Thanks!
    e46|700tsv 2005 model|sb51g xpc2.4ghz opus 150|I-bus|XM Direct&cables | slim slot USB DVD-cdrw|Hawking 54g|iGuidance 2.1-HoluxGPS
    sold it all... :-(


    Coming Soon - 2007 BMW 335i UMPC install

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

    Join Date
    Mar 2009
    Location
    Los Angeles
    Posts
    929
    Always great to hear someone's actually using my software :-D

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

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

    Join Date
    Mar 2009
    Location
    Los Angeles
    Posts
    929
    Oh, and OBDSim actually has its own webpage listing some of the major features and plugins, here: OBDSim

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

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

    Join Date
    Mar 2009
    Location
    Los Angeles
    Posts
    929
    obdsimwindows-2010-09-18.zip

    Now defaults to doing benchmarking, and on windows defaults to the gui plugin. ie, "Windows users will find that double clicking the .exe with no command-line options will do what they want".

    I also just tested, and that works with centrafuse, scantool.net, OBD2007 lite. Presumably others, but I don't have anything else to test with.

    Protocols are now settable on the command-line. Use "-L" to list all known OBDII protocols, and set the one you want with "-p". Note that the value passed to "-p" is exactly the same as what you'd pass to ATSP: [A]{0-9}

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

Similar Threads

  1. CF with my OBDSim
    By chunkyks in forum Centrafuse
    Replies: 0
    Last Post: 09-15-2010, 02:02 PM
  2. Help Determine Vehicle OBD Protocol
    By 06Titan in forum Engine Management, OBD-II, Engine Diagnostics, etc.
    Replies: 2
    Last Post: 08-18-2009, 12:51 PM
  3. Unofficial TouchSense PR-1000 Protocol Description
    By Fiberoptic in forum MP3Car Products - store.mp3car.com
    Replies: 0
    Last Post: 04-01-2009, 08:36 AM
  4. Using Alpine's AI-NET protocol?
    By brhestir in forum Hardware Development
    Replies: 2
    Last Post: 04-05-2007, 11:31 AM
  5. Sony UniLink protocol explained here, can someone?
    By SuperSonic in forum General Hardware Discussion
    Replies: 15
    Last Post: 06-28-2005, 11:37 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
  •