have a read of this http://en.wikipedia.org/wiki/OBD-II_PIDs#Query and
good luck, let us know how you get one.
If this is in the wrong section, please move.
I'm seeking advice on (you guessed it) programming with a J2534 PassThru adaptor in VB.Net. More specifically, It's a FEPS enabled Ford Mongoose from DrewTech that I want to use to (at the moment) read PIDs from my ECU and then log them into a database. I'm quite confident that I can accomplish adding data to the database, however I cannot do this without being able to request PID data and this is where I'm doing my head in trying to get this to work.
Using the VB6 source code from the DrewTech website, I can get the program to open the connection to the Mongoose through the DLL and then establish the proper communication settings or at least I think it does because the red light flashes when I connect/disconnect to the device and the green light changes from flashing fast to slow. Though as far as requesting PID data, I'm not having any luck.
Also, previously I had an ELM 327, however I foolishly tried to extend the OBDII cable using two null modem cables, causing permanent damage to the ELM. I can still read data using PCMSCAN or DataPro with the Mongoose (however I can only get a few PIDs to work, and only slowly), but I want to have my own program do this.
Here is a link to the program so far:
Sorry for the long post, I want to be as detailed as necessary.
If anybody could tell me how to request PID data or at least what I'm doing wrong I would be most greatful.
Edit: forgot to add url for DrewTech VB6 source code
Sorry for the delay, due to time constraints I have decided to use an ELM 327, however I will hopefully be adding support for J2534 devices in the near future.
For those that are interested, here is a link to my program:
Currently your elm needs to be on COM4 for the program to work and you cannot change the serial port settings.
To connect, click on connection and then connect.
It will log data by pressing "button2", however that is all it does for right now, no conversion from hexadecimal or displaying of data.
You can however display data without logging it if you press "button1", a word of warning though - the data you will see will be raw data, no conversion from hexadecimal or kind of formatting.
I'll try to remember to post back when I get more of it completed.
Thanks for the help.
If you're still trying to use J2534 in .net, I uploaded a library I wrote that simplifies it a little bit. Take a look at the sample code (it's in C#, but feel free to email me if you have any questions).
link to drewtech vb6 dead
OBD-II commands. I tested it on a DrewTech Mongoose and a Dearborn Group Gryphon.
May need to learn .Net, but everything else I have done is in VB6
Still looking for the VB6 source
http://www.drewtech.com/downloads/ and download the "J2534-1 Tool". The installer gives you a *.exe and puts the full source code along with it under c:\Program Files. It's a little messy though; you could probably do better yourself once you get the hang of things.