-
Notifications
You must be signed in to change notification settings - Fork 407
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
Request Excel_template.xlsx for convert can_matrix_excel.xlsx to output.dbc #165
Comments
1/ what is the exact question? The Top line should show collumn heads and all ECUs |
Thank you for replying me. Because i have to create dbc file from the information which are given in excel file. |
Well - for starting - you can use every xls(x) which canmatrix creates.
|
Thank you. |
Yes, minValue..maxValue creates: min = minValue; offset = minValue; maybe I could add some collums to add offset and factor direct |
example for importing additional attributes |
Thank you. I see you clear the "Vector__XXX" column. |
Hi shaolinkhoa, use or use not the collums, as you need. use frame.[ATTRIBUTE] to change the frame:
use signal.[ATTRIBUTE] to change the signal:
Note |
does this fulfill your requirements? Could I close this issue? |
Yes. it's working perfect. |
Hi ebroecker, I find a problem while converting xlsx -> dbc 1/ Can you add signal.init ? so that the converted dbc file will have initial value.
Note: if signal.offset (line 1) = -100 and signal.offset (line 2) = 0. Problem with signal.max : After I converted xlsx -> dbc, the maximum value of signal is 65535. It's not match with signal.max = 100 like I write above. Thank you |
Hi ebroecker, Does the DLC of frame is fixed to DLC 8 ? I found in src/canmatrix/xlsx.py:
I added the column frame.size and changed the value to 6 but it didn't work. Regards, |
Hi ebroecker, |
not sure if it was actively fixed, but my quick test worked: NB: there is a dlc-check which raises the dlc, if the given dlc is to small for handling all signals. |
i successfully run this command and the .xlsx is generated i tried to run the following command : Am i doing it wrong ? :'D |
https://canmatrix.readthedocs.io/en/latest/installation.html#dependencies you need to install xlwt python package |
Hi,
Thank you for creating canmatrix. It's a great tool.
I converted the input.dbc to the output.xlsx.

In the output.xlsx, there are top border lines and some cells have black background like the picture below.
I have some questions about the convert processing. Would you mind helping me ?
1/ Does the top border lines contain message frame and all the signals of the frame ?
2/ what does the black background cell mean ?
3/ Does it have a standard excel template for converting a excel_file.xlsx to output.dbc ?
Thank you and regards,
Khoa
The text was updated successfully, but these errors were encountered: