Converting CANtouch Trace Files
Sooner or later, anyone using the protocol monitor of CANtouch will wonder how to convert the binary trace files (.trc) into readable data.
Since CANvision version 1.28 this is easily possible with the trial mode. The software can import the files and export them to a CSV file. In addition, the data content can be decoded if the recording is CANopen or J1939 data.
The trial mode is a version of the program limited to five minutes runtime. Saving files is not possible, but all other functions are usable exactly as in the full version, thus also the export as CSV file.
This is how the trace file is imported and then exported to a CSV file:
- Starting the software
- Open the corresponding client window (CAN receive, CANopen receive or SAE J1939 receive)
- File > Import > CANtouch Trace… Selection of the file
- The file is imported and decoded if possible.
- File > Export > CSV file… Name the file
- File is exported
When importing the CSV file into a calculation software, select the semicolon as the separator.
Converting CANtouch receive list
The procedure for the receive list of the CANtouch protocol monitor is similar. Please note that a maximum of 200 lines is stored in this file.
- Starting the software
- Open the client window CAN Receive
- File > Import > CANtouch Receive List… Selection of the file (cantouch.document.app.canmonitor.receive.xml)
- The file is imported and decoded if possible.
- File > Export > CSV file… Name the file
- File is exported
Limiting the number of messages
The CANvision client windows can display a maximum number of one million telegrams. If your recording is larger or decoding is not needed, you can convert it using the command line tool trc2csv.exe. In this case, decoding with CANvision is not possible even afterwards.
It is easy to use:
- put the file trc2csv.exe on your desktop
- drag-and-drop the CANtouch-trc file to be converted from the Explorer onto the icon of the file trc2csv.exe
- the file is read, decoded and stored under the same name in the same folder with the extension csv
- import the CSV file e.g. into Excel or another spreadsheet for further processing
Alternatively, it can also be used on the command line (“Command Prompt”).
Download trc2csv.exe