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

Convert dbc <=> xlsx - units are deleted #767

Open
nexulm opened this issue Feb 16, 2024 · 1 comment
Open

Convert dbc <=> xlsx - units are deleted #767

nexulm opened this issue Feb 16, 2024 · 1 comment

Comments

@nexulm
Copy link

nexulm commented Feb 16, 2024

During the conversion of dbc to xls and vice versa all units of signals are deleted.

Input;
Standard-CAN dbc

Command used with Ubuntu Linux 22.04:
python3 -m canmatrix.cli.convert "$path/$param_file_wo_extension.dbc" "$path/$param_file_wo_extension.xlsx"

Is there any option I've missed to include the units as well?
Since I'm using Canmatrix to convert the DBC, edit the entries in Excel and create an updated DBC from it, the observed behavior is not helpful.

@ebroecker
Copy link
Owner

Hi @nexulm,

xls(x) is a lossy format, it will never keep all information from dbc.

But indeed, you can add additional information with:
–additionalSignalAttributes//–additionalFrameAttributes

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