Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

Parsed FIT file returns the same timestamp for several records

Rank

Total Posts: 10

Joined 2015-02-19

PM

I successfully parsed a .fit file with Java SDK. For each record I call:

public void onMesg(RecordMesg  mesg{
   System
.out.println(mesg.getTimestamp().toString());
                    


The problem here is that it prints the same timestamp (i.e. Tue Aug 30 20:35:00 WEST 2011) for a high volume of records and then it starts printing another different timestamp for a range of records, and so on.
I checked the .csv file and I saw this progression which is what I was hoping to find with the SDK:

683666985
683666986
683666987
....

Do you think it's a problem with the SDK or with the precision of the timestamp?

Thanks      
Rank

Total Posts: 10

Joined 2015-02-19

PM

Btw I'm using the version 14.00 of the SDK      
RankRankRank

Total Posts: 91

Joined 2012-10-12

PM

Hi David,

It looks like a bug was introduced in version 13.20 with the addition of fractional timestamps that leads to loss of precision in the timestamp. I will fix this in 14.10 (~Feb27)      
Rank

Total Posts: 10

Joined 2015-02-19

PM

Hi,

Many thanks!

Cheers