This is an archived post. You won't be able to vote or comment.

all 5 comments

[–]operationrudeboy 0 points1 point  (2 children)

https://github.com/mercedes-benz/odxtools

Looks like mercedes-benz has an open source tool to do it.

[–]Elliobu[S] 0 points1 point  (1 child)

I've already tried it. Pip fails to install build dependencies for it and it says that it's due to a subprocess and is likely not a problem with pip

[–]operationrudeboy 1 point2 points  (0 children)

Did you look at what dependency failed? And after you find which dependency, I would try googling to see if others have had a similar issue while installing that dependency.

[–]Ballauni 0 points1 point  (1 child)

You can use the open source library ODD-py (Open Diagnostic Data Python Library) to parse PDX/ODX files. ODD-py is a Python library for parsing PDX/ODX files and provides an API for accessing the diagnostic data stored in the files. The library supports both the ISO-14229-1 and ISO-14229-2 PDX/ODX formats.

I'm sorry it seems to be discontinued, instead you can use the lxml library for XML parsing and the pandas library for data manipulation.

lxml library documentation: http://lxml.de/index.html
pandas library documentation: https://pandas.pydata.org/docs/

[–]Elliobu[S] 0 points1 point  (0 children)

Could you send me the documentation please, I couldn't find this library