ConnectIQ speed data field lagging built in speed data field.

If I create a simple "MySpeed" data field like this:
function compute(info) {
// See Activity.Info in the documentation for available information.

if(info.currentSpeed == null)
{
return 0.0;
}

spd = info.currentSpeed*3.6; // m/s => km/h
}


Then set up a screen with MySpeed and built in Speed data fields, then MySpeed will lag by 1 second (screen/speed/gps update rate).

e.g.


MySpeed display Built in Speed
0.0 0.0
0.0 5.0
5.0 6.0
6.0 8.5
8.5 0.0
0.0 0.0


Why? This surely must be a bug?

Btw: This is with a Fenix3, don't know if it is the same with other devices?
  • i did a similar test on this as well. But using elapsed time.
    By putting together test codes together and putting the calculations into a datafield and looking at the values as reported by Native Garmin Run App, a CIQ data field.

    The same observation was noted as ooyhare. The CIQ fields are lagging by 1second.

    CIQ Elapsed Time : 1sec
    native Garmin Elapsed Time : 2sec

    Then..

    CIQ Elapsed Time : 2sec
    native Garmin Elapsed Time : 3sec


    CIQ becomes a secondary output and not realtime?
    Would like to get a CIQ expert from garmin to provide insight.

    These lagging will cause calculation errors between native apps and CIQ apps. How can this be remedied? If at all possible?

    Thanks.
  • We have this reported for investigation, but there's no clear answer at this point. Thanks for the report!
  • I can add that after my initial post, I tried again after a few days without being able to reproduce this.
    Have not really played around with it later...

    I guess there is a intermittent bug somewhere in connect IQ or in fenix 3 (and other devices?) firmware causing this.