This content is not available in your preferred language.

The content is shown in another available language. Your browser may include features that can help translate the text.

Bus Log Converter Error When Converting a Log File Using DIAdem

Updated Nov 29, 2023

Reported In

Software

  • DIAdem

Issue Details

I am trying to decode or convert a log file to be able to analyze it using DIAdem. I already opened the Bus Log Converter and selected the log file and the appropriate database file, but I keep getting the following error message:

Bus Log Converter error: Cannot create TDM file with the current settings.
Possible causes are signal database assignments, time range, signal filters or
bus filters are unsuitable or the data set does not contain any frames to be
processed.
Bus Log Coverter Error.png
 

Solution

You can create the Bus Log Converter configuration file (*.tcc) by following these steps:

1. Open DIAdem and from the NAVIGATOR panel, go to File >> Bus Log Converter.
2. Configure the settings of the Bus Log Converter window by selecting the appropriate file type and filename by browsing to the location of the log file.
bus log converter.png
3. Configure the signal database by going to the left panel and clicking on Signal Databases under Configuration.
4. In the Signal databases panel click on the "+" symbol (Add Bus Database Assignment) to add the database file.
add bus database assignment.png
5. In the Bus Database Assignment window click on the "+" symbol (Add Database File) and browse to the location of the .dbc file that you want to use. Once you have found it select it and click Load.
bus database assignment1.png
6. Once you have loaded the .dbc file make sure to select the appropriate ID-Mode. You can determine the ID that you need to select by opening the .dbc file in a text editor and searching for the "ProtocolType" or "BusType" keyword and selecting it as the ID. It is not recommended to leave it with the default option since it may fail to convert the file.
7. Click on Convert to load the file into DIAdem or save the *.tcc file by clicking on the third top left icon, as shown in the image below.
convert.png

If you cannot identify the cause of the error, please contact NI Technical Support and provide the log file and the .dbc file to reproduce the error.

Additional Information

Please note that the Bus Log Converter only supports signals where Bus numbers are present.