Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arxml to dbc/csv has no output at all with python 3.8.3 (anaconda) #495

Closed
daemonPainter opened this issue Aug 31, 2020 · 3 comments
Closed

Comments

@daemonPainter
Copy link

I have an Anaconda install. Via the Anaconda Prompt I pip install the program just fine, I can run the help without issues. I have an arxml file (around 10MB) that I'd like to convert into a DBC or CSV file.

I run canconvert IN.arxml OUT.dbc, get the following input, but no dbc file is created. When provided an empty dbc file, nothing changes.

INFO - convert - Importing IN.arxml ...
INFO - convert - done

INFO - convert - Exporting OUT.dbc
INFO - convert - done

Am I doing something wrong?

@ebroecker
Copy link
Owner

Hi @daemonPainter

Well, what you do looks good.
Do you have CAN-Clusters in your ARXML?

Could you also try canconvert -vv IN.arxml OUT.arxml ?

I guess you can't provide your ARXML anyhow?

@daemonPainter
Copy link
Author

daemonPainter commented Aug 31, 2020

Hi @ebroecker , thanks for the quick response!

Yeah, the arxml itself can't be shared for IP reasons 😢
I've tried that and got this:

DEBUG - arxml - Read arxml ...
DEBUG - arxml -  Done

DEBUG - arxml - Build arTree ...
DEBUG - arxml -  Done

DEBUG - arxml - 0 frames in arxml...
DEBUG - arxml - 0 can-frame-triggering in arxml...
DEBUG - arxml - 0 SIGNAL-TO-PDU-MAPPINGS in arxml...
DEBUG - arxml - 1057 I-SIGNAL-TO-I-PDU-MAPPING in arxml...
INFO - convert - done

dunno if it helps, it should be mostly ethernet communication going on in this ECU. How can I check for CAN-Clusters?

EDIT: I suppose the output should be in the same folder I'm calling the script from, right? I cd'd into the arxml folder, and I'm calling there the script.

EDIT 2: I have a strange feeling that I might be misusing the tool: from the docs I got the impression that I can get arxml to dbc conversion regardless of the bus type (CAN / ETH), but I fear this might not be the case?

@ebroecker
Copy link
Owner

ebroecker commented Sep 1, 2020

Well yes. Canmatrix ist CAN only, nur you can try sameip branch.
There ist some more Bus Support...

https://github.com/ebroecker/canmatrix/tree/arxml_sameip

#283

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants