C# application to convert .trc using .sym file

This forum covers issues concerning multiple software products.

C# application to convert .trc using .sym file

Postby snieves77 » Fri 1. Sep 2017, 18:53

I have trace files being generated and I need to convert them to csv/excel so the data can be imported into a table. I have a symbols file as well. Can anyone provide any guidance on how to do this using C#? I've started by just using C# to open the file and start parsing the data but I was wondering if there's a preferred method that will also use the symbol file. Any assistance would be greatly appreciated.

Here's a snippet

Bus=1,ID=857,Type=D,DLC=8,Data=255 210 211 0 0 255 0 0 ,
Bus=1,ID=857,Type=D,DLC=8,Data=255 211 211 0 0 255 0 0 ,
Bus=1,ID=857,Type=D,DLC=8,Data=255 212 211 0 0 255 0 0 ,
Bus=1,ID=856,Type=D,DLC=6,Data=37 24 251 119 11 128 ,
Bus=1,ID=857,Type=D,DLC=8,Data=255 212 211 0 0 255 0 0 ,
Bus=1,ID=857,Type=D,DLC=8,Data=255 212 211 0 0 255 0 0 ,
snieves77
 
Posts: 5
Joined: Thu 11. May 2017, 21:02

Re: C# application to convert .trc using .sym file

Postby K.Wagner » Sat 2. Sep 2017, 20:43

hello,

you could use the PEAK-Converter, a trace conversion tool that can convert trace files (*.trc) to comma separated values (*.csv), among others. The tool supports command line use, so you can automate your conversion process.

The PEAK-Converter can be downloaded using this link.

Note: this tool does not support using symbol files.
Best regards,
Keneth
K.Wagner
Software Development
Software Development
 
Posts: 675
Joined: Wed 22. Sep 2010, 12:36
Location: Darmstadt, Germany


Return to Software



This website uses cookies for analytics, for logins to the online shop and the forum, and for the handling of an order. By browsing this website you agree to the use of cookies. Detailed information on their use can be found in our privacy policy.

OKPrivacy Policy