Jump to content

reading from .dbc files


Vayu

Recommended Posts

  • 3 weeks later...

I am assuming you mean the .dbc file assocated with CAN traffic. This is the Vector CAN message traffic database file. It defines the CAN message identifiers, repition rates, and data variables. If you go to the Vector website you can learn more. <www.vector-informatik.de>

Link to post

Check out this site at NI

Synchronizing CAN and Anaolog Signals...

If you don't like the way there doing it you could always do what I did and extract the information from the *.dbc file like I did. You need to import it as text, figure out how its constructed and then build it into a useful cluster or something.

I've included some of the work I did on this. I only read from the CAN bus so I did not extract the information from the *.dbc on writting to the CAN bus.

I also created my own buffer so I can easily extract the data.

Sorry some of the code is sloppy. This is an old development example. I never really meant for it last longer than that.

Also please be offer feadback. Be brutal. Thats the best way to learn. And if you make any improvements I'd love to see them.

Enjoy.

Download File:post-3219-1129260176.zip

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.