a2l2xdf icon indicating copy to clipboard operation
a2l2xdf copied to clipboard

Usage Example

Open strooth opened this issue 4 years ago • 1 comments

Hey there,

Great work here, I'm not the best with python, so it was unclear to me how to use this correctly.

A quick look at the code makes me assume I call the a2l2xdf.py like so in terminal or cmd

python3 a2l2xdf.py mya2lfile.a2l thecsvfile.csv

which will then output the mya2lfile.xdf

I was unsure how I use the csv file correctly?

strooth avatar Aug 04 '21 09:08 strooth

Please take a look at the example CSV file included : https://github.com/bri3d/a2l2xdf/blob/master/a2l2xdf.csv . The format should be hopefully self-explanatory.

Also note that this has only really been tested on A2Ls from a few vendors - for example, I know that it won't work with A2Ls which have maps with embedded axes (instead of separate AxisPts references). The concept should be fairly easy to extend for various A2L formats, I just haven't had the time.

bri3d avatar Aug 04 '21 22:08 bri3d