histdata to t1

Posted By: sarmasboy

histdata to t1 - 07/19/19 12:55

Hello all! I wondered if anyone has a script that converts HistData tick csv into t1 file formats? Much appreciated!

Laurynas
Posted By: sarmasboy

Re: histdata to t1 - 07/19/19 14:26

So I'm very happy I came across this post.

I used the latest code from here and I didn't even need to use the python file.

I used tac in bash (Windows Linux Subsystem) to reverse the order of dates, and then made a couple modifications to the ConvertData.c file to correctly convert milliseconds, adjust for the date format and simplify the conversion of individual files. If anyone is stuck like me for this simple one-off conversion of DataHist to T1 conversion, I've included the edited file below.

Big thanks to pcz for writing such detailed docs and sharing with everyone!!

Laurynas

Attached File
ConvertDataT1.c  (73 downloads)
Posted By: Grant

Re: histdata to t1 - 01/29/22 21:58

Much appreciated!
© 2024 lite-C Forums