08-29-2018 03:14 AM
Dear
According to the example given by NI I have created a tree that Displays all the Content of a .dbc file.
I works great but I cant find out whether a message is a send or receive message.
Does any one of you ever tried to find that out or know how to find that out?
Please have a look into the attached example for more Information.
Best regrds
Martin
08-29-2018 03:29 AM
CAN message are usually message that are send in a regular interval.
You might have to read continuously the CAN bus to retrieve any message.
08-29-2018 03:35 AM
Beg me pardon but I don't takl about CAN message Transfer.
I'm talking about the .dbc file anaysis.
Within the .dbc file each message Can be identified as send or receive message.
What is missing is a indicator or property for this inforamtion.
08-29-2018 03:35 AM
Hi Martin,
Does any one of you ever tried to find that out or know how to find that out?
The Tx/Rx information is coded in the dbc file by assigning a message to a certain device/network node ("Netzknoten" in my German CANdb++ tool).
Unfortunately I could not find a way to read that information from XNet (but I don't have much experience with XNet).
You may just read the dbc file as it's a simple text file and parse the lines starting with "BO_" to read their device assignment. Each "BO_" line (BO = "Botschaft" (German) = "message") contains ArbID, message label, payload byte count, assigned network node.
10-24-2018 03:24 AM
Gerd
thats exactly what I need.
I have written a .dbc file reader but this information seams to be not available.
The example is available at www.digiinst.de
Did you hear something new about this issue?
Regards
Martin
10-24-2018 03:35 AM - edited 10-24-2018 03:36 AM
Hi Martin,
no, in the last month I did not hear anything new. (I also didn't ask for news.)
For my use case (cRIO with NI9853, doing CAN message filtering in the FPGA) I usually parse DBC files "manually" by converting them to plain text/csv files…
Thanks for that XNet example!
11-09-2018 02:59 AM
Dear Gerd,
I have enhanced the Project by a path based .dbc database selection and now you can choose whether you want to see tx or rx data.
You can download the Project from here:
https://www.digiinst.de/p/read_can_dbc
Best regards
Martin