This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Export a manually created activity to TCX leads to TotalTimeSeconds set to 0 and other missing fields

Former Member
Former Member

Hi *,

I created a new activity manually via the web interface: https://connect.garmin.com/modern/activity/manual

  • Activity Name: Test
  • Activity Type: Running
  • Event Type: Training
  • Start Time: 2020/12/29 14:58
  • Duration: 01:02:03
  • Distance: 10,12 km
  • Calories: 858
  • Pos. Elevation: 1234 m
  • HR avg: 123
  • HR max: 179
  • Temp avg: 20
  • Temp min: 19
  • Temp max: 21

When I export the activity as TCX, then the XML file shows TotalTimeSeconds as 0. That's a severe error in my opinion.

Furthermore "Activity Name", "Event Type", "Pos. Elevation",  "Temp avg", Temp min", "Temp max" are missing completely. That's really annoying.

Is there any way to get the requested data from the system in a machine readable way?

Cheers,

Tobias

<Activity Sport="Running">
      <Id>2020-12-29T14:26:00.000Z</Id>
      <Lap StartTime="2020-12-29T14:26:00.000Z">
        <TotalTimeSeconds>0.0</TotalTimeSeconds>
        <DistanceMeters>10123.0</DistanceMeters>
        <MaximumSpeed>3.378000020980835</MaximumSpeed>
        <Calories>858</Calories>
        <AverageHeartRateBpm>
          <Value>123</Value>
        </AverageHeartRateBpm>
        <MaximumHeartRateBpm>
          <Value>179</Value>
        </MaximumHeartRateBpm>
        <Intensity>Active</Intensity>
        <TriggerMethod>Manual</TriggerMethod>
        <Extensions>
          <ns3:LX>
            <ns3:AvgSpeed>2.7190001010894775</ns3:AvgSpeed>
          </ns3:LX>
        </Extensions>
      </Lap>
    </Activity>
  </Activities>
  <Author xsi:type="Application_t">
    <Name>Connect Api</Name>
    <Build>
      <Version>
        <VersionMajor>0</VersionMajor>
        <VersionMinor>0</VersionMinor>
        <BuildMajor>0</BuildMajor>
        <BuildMinor>0</BuildMinor>
      </Version>
    </Build>
    <LangID>en</LangID>
    <PartNumber>006-D2449-00</PartNumber>
  </Author>

  • Is there any way to get the requested data from the system in a machine readable way?

    If a machine readbale format is sufficient, and it does not have to be an XML file, then use the FIT file format (use the option Export Original). I just tested it with a manually created activity, and the duration is stored in it correctly.

  • Former Member
    0 Former Member over 4 years ago in reply to trux
    I just tested it with a manually created activity, and the duration is stored in it correctly.

    "Export original" ends with a .fit-file that Garmin can import again and https://www.fitfileviewer.com/ is able to show the details.

    But unfortunately GoldenCheetah 3.5 creates an empty activity from it. Can be a bug in GoldenCheetah.

    I would prefer TCX or any other text based file format because it's machine and human readable and can be processed without proprietary SDKs.

    Would be great if TCX would just contain the expected data ...

  • Would be great if TCX would just contain the expected data ...

    Certainly, but it is not the users on this forum who can help you with it. You have to contact the Customer Support and ask them to fix the bug. That may take a long time though, since it is no critical issue, so I guess it won't get any high on the priority list of the developers. You better work with what is available now.

  • Former Member
    0 Former Member over 4 years ago in reply to trux
    You better work with what is available now.

    Yep, that's the way to go I think