How to get values for "time last lap" and "laps"

Hello,

Im trying to develop two new simple datafields and im having problems finding out where to get the value for "time last lap" and "laps" during a activity.

Example, activity starts and I manuall LAP after 2 minutes.
then I would read out the value 2 minutes and the value 1 (one lap)

If i press lap again after 3 minutes i would like to read out value 3 minutes and value 2 (two laps)

Can someone please point me in the correct direction?

thanks
  • Unfortunately, there isn't any way to get information about lap start and end time from a data field.

    Travis
  • Unfortunately, there isn't any way to get information about lap start and end time from a data field.

    Travis


    aha. So what i need to do is to calculate the laps myself. So what i need to do is to find out how i can read when the LAP button is pressed and store the time in variabel.

    I will browse the helpdocuments for more help, but if anyone know how to do this please point me into right direction =)
  • aha. So what i need to do is to calculate the laps myself. So what i need to do is to find out how i can read when the LAP button is pressed and store the time in variabel.

    I will browse the helpdocuments for more help, but if anyone know how to do this please point me into right direction =)


    To interact with button presses and screen gestures, you will need to "install" an InputDelegate, but that is not possible for data fields. Unfortunately, there don't seem to be any way to interact with the outside world for a data field or a watch face.
  • To interact with button presses and screen gestures, you will need to "install" an InputDelegate, but that is not possible for data fields. Unfortunately, there don't seem to be any way to interact with the outside world for a data field or a watch face.


    Thanks for you reply Tonny!

    this is what im trying to do:
    Im trying to make a datafield to calculate distance and pace for indoor trackrunning. (gps off)

    In oslo/Norway we have a indoor track that is 546meters..

    When i run this lap in 2:11minutes and press Lap i have to calculate in my head that this equals 4:00 pace. I would like to make a datafield that do this for me. I would also like to do a datafield that measure distance indoors.

    The distance indoors will be easy, its just laps*546m.
    But looks like I cant get the LAPS value and not the TIME LASt LAP or anything.
    This is such a letdown, this was one of the reasons i bought the watch.

    I was pretty sure that should be easy to do since you coult develope own "datafields".

    As i understand it, this cant be done?
    i cant read interaction with buttons and there is no way to read out laps and laptime. Correct?
  • Former Member
    Former Member over 10 years ago
    The watch can measure distance indoors via a footpod, or the built-in accelerometer in the watch, so you can have distance and pace indoors. So maybe you don't need that datafield at all?

    -Torstein
  • The watch can measure distance indoors via a footpod, or the built-in accelerometer in the watch, so you can have distance and pace indoors. So maybe you don't need that datafield at all?

    -Torstein


    Thanks for suggestion, but the results wont be accurate enough.
    If i set a distance per LAP it will always show 100% correct pace/distance. thats why i would like to implement this.
    The values are there allready, but i just want to calculate them.

    I thought it wouldnt be much hassle to just show " LAPS*546 ", but looks like this is not possible.
  • Thanks for you reply Tonny!

    this is what im trying to do:
    Im trying to make a datafield to calculate distance and pace for indoor trackrunning. (gps off)

    In oslo/Norway we have a indoor track that is 546meters..

    When i run this lap in 2:11minutes and press Lap i have to calculate in my head that this equals 4:00 pace. I would like to make a datafield that do this for me. I would also like to do a datafield that measure distance indoors.

    The distance indoors will be easy, its just laps*546m.
    But looks like I cant get the LAPS value and not the TIME LASt LAP or anything.
    This is such a letdown, this was one of the reasons i bought the watch.

    I was pretty sure that should be easy to do since you coult develope own "datafields".

    As i understand it, this cant be done?
    i cant read interaction with buttons and there is no way to read out laps and laptime. Correct?


    I have two data fields in my idea book that would require the same.

    To me, it would be just fine if we could get access to the lap press time in the Activity.Info structure.

    @Garmin, do you think this would be possible?

    /Tonny
  • Former Member
    Former Member over 10 years ago
    We do intend to add access to lap info for data fields in a future SDK release.
  • Former Member
    Former Member over 10 years ago
    Is possible to add navigation fields too? Target position, distance ....
  • Former Member
    Former Member over 10 years ago
    I've created a ticket requesting navigation data.