ebroecker / canmatrix

Converting Can (Controller Area Network) Database Formats .arxml .dbc .dbf .kcd ...
BSD 2-Clause "Simplified" License
916 stars 401 forks source link

fibex support #811

Open drZWzheng opened 3 months ago

drZWzheng commented 3 months ago

Now the Flexray protocol is widely used in car domain, it has the huge demand to have a tool to parse the XML data format file, but the cantools is not support to parse the format currently. As a participant, i strongly recommended to support parsing Flexray data format.

drZWzheng commented 3 months ago

import canmatrix arxml is not supported kcd is not supported fibex is not supported xls is not supported xlsx is not supported odx is not supported

ebroecker commented 2 months ago

hi @drZWzheng

you need to install lxml lib

pip install lxml

drZWzheng commented 2 months ago

hi @ebroecker but it can't import file with xml fibex format

ebroecker commented 2 months ago

Hi @drZWzheng

please provide more context information.

Currently fibex is only for CAN supported. Do you try to import a flexray-fibex? This would not work because no one ever implemented flexray-support in CANmatrix If you are trying to import a can-fibex file, are there errors displayed? If so, which errors?

drZWzheng commented 2 months ago

HI @ebroecker

I want to import a flexray-fibex, Do you know some tools which can import the flexray-fibex and parse it.

ebroecker commented 2 months ago

Hi @drZWzheng

No sorry I don't know any library for this purpose.

It should not be that hard to implement. But I don't have examples for it.

So what would you like to do with it? I mean after parsing. Extract values? Create somr Excel-Sheet or what would you like to do?