Page 4 of 109

Re: ELM327 Software Development

Posted: Sun Sep 22, 2013 3:21 pm
by Tazzi
Charlescrown wrote:I am trying it with a genuine Elmscan5 and it just crashes
Dunno then! Ill clean up the code, and do a step by step action.
Will also chuck up the vb solution file if anyone wants to see whats happening, or wants to debug and see what the elm is actually sending!

Will Update soon

*Edit
Im doing this on windows 7/8, seems to work happily on either, dont get any problems there. Again, not using a proper cable though, just emulators. Be interesting to see why its crashing with a real cable, might need somone to step through the program with the cable connected to see what the issue is!

Re: ELM327 Software Development

Posted: Sun Sep 22, 2013 3:36 pm
by Tazzi
Removed the other connect button.. causing more issues then good. Attached is the current vb10 project solution im using. Should also have a compiled .exe in there as well.

Re: ELM327 Software Development

Posted: Sun Sep 22, 2013 4:13 pm
by delcowizzid
so my cable doesnt contain an elm chip LOL FTDI usb chip and pic microcontroller

Re: ELM327 Software Development

Posted: Sun Sep 22, 2013 4:17 pm
by Tazzi
delcowizzid wrote:so my cable doesnt contain an elm chip LOL FTDI usb chip and pic microcontroller
:lol: bahahaha... and theres the problem. That sounds like a aldl cable you got there maybe?

Re: ELM327 Software Development

Posted: Sun Sep 22, 2013 4:20 pm
by Charlescrown
Still cant find ELM. Tries 4 times then stops

Re: ELM327 Software Development

Posted: Sun Sep 22, 2013 4:22 pm
by delcowizzid
its an elm cable and circuit board says elm 327-usb v3.0 ebay special says multi protacol EOBD OBD CAN
IMGP6755.JPG
IMGP6755.JPG (1.83 MiB) Viewed 6492 times
IMGP6753.JPG
IMGP6753.JPG (1.73 MiB) Viewed 6492 times

Re: ELM327 Software Development

Posted: Sun Sep 22, 2013 4:23 pm
by Tazzi
Charlescrown wrote:Still cant find ELM. Tries 4 times then stops
You dont have VB10 installed on your computer by anychance? Should be able to put a breakpoint on the receivedmessages and check what was actually received!

Least its not crashing.. its attempting to send.. not receiving anything then ending like it should... apparent from the whole not find elm device!

Re: ELM327 Software Development

Posted: Sun Sep 22, 2013 4:24 pm
by delcowizzid
charles crown thats what mine does reply timeout till max timeouts

Re: ELM327 Software Development

Posted: Sun Sep 22, 2013 4:31 pm
by Tazzi
delcowizzid wrote:its an elm cable and circuit board says elm 327-usb v3.0 ebay special says multi protacol EOBD OBD CAN
*Sigh* Its either a) not perfectly compliant with what a elm does eg respond to "ATZ"
or b) My app is still doing something wrong! lol

Im leaning towards my program doing something wrong since Charlescrown is having problem with a proper cable!

May I suggest running a free serialport monitor in background, see if the elm is even responding?! Just connect to the cable in the monitor then run my app.. see if the elm responds back (only do if you have nothing better to do! lol)
Use this free monitor.. its HDD free serial monitor:
http://www.filedropper.com/free-serial-port-monitor

Couldnt find it on the net so just grabbed the one I use in my virtual machine (doesnt work on windows8)

Re: ELM327 Software Development

Posted: Sun Sep 22, 2013 4:53 pm
by VX L67 Getrag
I can test it out tomorrow on mine, from previous command responses I got it said it was an elm327!
I have another serial port monitor too & can try that & see what it's doing!