Automated DBC File Creation using Python

preview_player
Показать описание
I Hate redundant work and am always looking for a better approach to solving problems. In this case, I was tired of creating DBC files and setting up the tedious tasks of the Message ID's and DLC's associated, so I used python to create a tool to do it for me. :)
Рекомендации по теме
Комментарии
Автор

Awesome mate. I am playing around with python to automate CAN messages to readable form. Just so I can learn from scratch. Your vid on SocketCAN got me into it. Great work 👏 👍

peterevans
Автор

as always, absolutely amazing!!
so, what you did is: something that understands more or less where the channels could be and even the protocol used? so what you have to do then is change the names when you understand what the channel is reading right? I mean... this is close to AI hahah

Keep showing to the padawans!!

joseviyeira
Автор

Well done, this is useful and can only get better. Can you share you work?

kulaniscap
Автор

Hello Mitch
great idea. So i am order the book and hope i get a way to find out how you did the job.
And if not i hope that somewhere in the big internet i find a listing, maybe in the old way. Means read an type line by line like the basic listings in the old happy-computer magazine from the 80s.
So i stay tuned and be exciting or more.
many greetings
joerg
and sorry my english grammar isn´t easy to read

Jorg-iqop
Автор

Does your python tool create a new entry for each unique Node-ID / Length combo.. or a new entry for every message (even if only the data changed)?

I have a pdf for a CanOpen device (GCAN-4128) that lists all the PDO, SDOs in a table. I'm not sure how universal it would be for other devices, but I've been thinking about a script that could scrape it and put it in a DBC file.

I'd also like to put a small CanOpen stack on an STM32, and have it push/PDO temperature and discrete data. A few SDO commands to configure the microcontroller. Aside from Vector CanDB++ editor, any thoughts on other EDS tools that I could use to make a DBC file for my application? CSS Electronics Online DBC Editor, TKE's CANopen Configuration Tool or CanOpen Architect?

bennguyen
Автор

Do you uploaded it on Github? This is a handy script to have...

womacko
Автор

This is amazing! Do you have a GitHub repo for this script?

jasonpepin
Автор

Is the python script available?
Can u share it?

charansn
Автор

Hello,
Can you share the script used or any link

DarshanR
welcome to shbcf.ru