ugcs / ugcs-java-sdk

UgCS Java SDK
Other
14 stars 7 forks source link

tlm to csv #4

Closed MorPal closed 7 years ago

MorPal commented 7 years ago

Hi, i am new with this program, how can i use it in ubuntu for convert a tlm file to csv?

episarenko commented 7 years ago

Hi,

First of all download the distfile and unpack it somewhere: https://github.com/ugcs/ugcs-java-sdk/releases/download/2.10/ugcs-telemetry-tool-2.10.zip. Make sure you have java installed and added to the environment path.

Then follow these instructions: https://github.com/ugcs/ugcs-java-sdk/tree/master/ucs-telemetry-tool. The most common case is to run

$ tlm2csv -t 60 -f your_telemetry_file.tlm -d .

which will add converted .csv files into the current directory.

MorPal commented 7 years ago

Hi, now it works, only one thing, in this line, i have to add "csv" at the end, like this:

$ tlm2csv -t 60 -f your_telemetry_file.tlm -d csv

that way it works perfect

Thanks you!!

Edit: ok, now is working also when it finish with the "point". I don´t know why wasn´t working before. But now it works with both lines.

Dumojon88 commented 6 years ago

Hi, I'm very much a nube at this. Trying to convert TLM to CSV using the command line prompt and instructions provided by UgCS and this thread. When I use the " tlm2csv -t 60 -f your_telemetry_file.tlm -d ." command it comes back with "Error: Could not find or load main class Files" I have tried various combinations as well as renaming the tlm file (it is in the telemetry tool 2.11 folder beside the *.bat files... Thanks for the help!

episarenko commented 6 years ago

Hi, please make sure that you cd to a directory containing tlm2csv script before invoking the script. It is only relevant for older versions and not required in release 3.0 where you can invoke script from any directory.