svlad-90 / DLT-Message-Analyzer

"Extended search" plugin for the DLT-viewer
Other
76 stars 13 forks source link

[GENERAL] Add possibility to convert new-line-terminated textual files into the dlt format #156

Closed svlad-90 closed 3 years ago

svlad-90 commented 3 years ago

As a user, I want to be able to use dlt-viewer not only for automotive-related projects:

Still, the dlt-viewer + DLT-Message-Analyzer provide such a good experience, that I wish to wider the range of the projects, for which it can be used.

For this purpose, I want to have the possibility to convert any textual "new line separated" file into the dlt format in order to use the benefits of the dlt-viewer's & DLT_Message-Analyzer's features. That will allow to wider the range of the users a lot.

artemkomyshan commented 3 years ago

Hi, Interesting functionality, how can I use it? (how can I convert any textual "new line separated" file into the dlt file now?)

svlad-90 commented 3 years ago

Hi @artemkomyshan, search for the "convert-txt-to-dlt-file" command on this page for more details: https://github.com/svlad-90/DLT-Message-Analyzer/blob/master/md/debug_console/debug_console.md

It gets sourceFile & targetFile parameters and does the thing.

Note! As I've needed that functionality quite fast, I've done processing right in the UI thread. Thus, dlt-viewer might hang for a while, till conversion is done. ))