09-09-2015
10:15 AM
- last edited on
01-29-2024
01:52 PM
by
migration-bot
Hi, I am trying to read basic ODBII engine PIDs from a myRIO and Stratom X-CAN adapter (https://www.ni.com/en-us/shop/model/stratom-myrio-can-adapter.html
I was wondering if there was a way to use the "NI Automotive Diagnostic Command Set" with this hardware in order to read thing like engine RPM of the OBDII port.
(https://www.ni.com/en-us/shop/product/automotive-diagnostic-command-set-toolkit.html
There are off the shelf API libraries for reading and writing CAN frame with this hardware but no specific examples of how to request and read specific engine PIDs.
Solved! Go to Solution.
09-09-2015 10:23 AM
The two tools are not compatible at all. The NI Automotive Diagnostic Command Set requires specific NI hardware to work. It takes over the hardware and does some very low level things that the toolkit relies on and the toolkit cannot function without that hardware, sorry.
That being said what you want to do can be coded up your self, if you read and understand the ISO standard on how to request and parse the response to PIDs. There are several examples on how to do this in other languages and sudo languages that can be translated to LabVIEW and put on your myRIO.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
09-10-2015 09:59 AM
Thanks for the quick response. I'll look into lower level OBD rquest comands.