srikump
2008-06-11 11:40:05 UTC
Hi,
We have a requirement to read and parse the CAN message log file and details out the message using the CAN DBC file.
In detail, we have to develop a tool which will take CAN message log file and DBC file as input. The tool should read each message from the file and check whether the message is present in the DBC file. If so, parse it and output the details of the CAN messages.
For e.g. if the message file contains the message "20 40 40 03 04 05 06 07 08 09 0A", then the output of the tool should look like 20 40 40 is the CAN ID for the message name X, 03 is the Byte 0 representing the signal name Y, 04 is the Byte 1 representing the signal name Z etc.
The tool application development can be a microsoft application like C# or some scripting languages like XML, Perl etc.
Please provide your inputs on the following:
1. What software language to use to develop the tool?
2. How to read CAN DBC file from the tool i.e if we use C# then how to read DBC file using C#?
3. Is there any other way to do the above requirement in simple means?
4. Your inputs and suggestions on similar requirements if any?
Thanks in advance
Srikumar
We have a requirement to read and parse the CAN message log file and details out the message using the CAN DBC file.
In detail, we have to develop a tool which will take CAN message log file and DBC file as input. The tool should read each message from the file and check whether the message is present in the DBC file. If so, parse it and output the details of the CAN messages.
For e.g. if the message file contains the message "20 40 40 03 04 05 06 07 08 09 0A", then the output of the tool should look like 20 40 40 is the CAN ID for the message name X, 03 is the Byte 0 representing the signal name Y, 04 is the Byte 1 representing the signal name Z etc.
The tool application development can be a microsoft application like C# or some scripting languages like XML, Perl etc.
Please provide your inputs on the following:
1. What software language to use to develop the tool?
2. How to read CAN DBC file from the tool i.e if we use C# then how to read DBC file using C#?
3. Is there any other way to do the above requirement in simple means?
4. Your inputs and suggestions on similar requirements if any?
Thanks in advance
Srikumar