Data Field: AppBuilder

By user request, this app lets you define your own data field, based on a simple math formula like cadence / 2.

If you want to get fancy, there's conditional expressions (like IF in Excel), functions for data analysis (like MIN and AVG), and the data field can also display the text of your choice. The resulting data can be (optionally) written to the activity FIT file.

With AppBuilder, you can implement almost any field that involves math, such as: calculating normalized power and saving the data to the FIT activity file, showing the average pace for even-numbered laps, or recording the amount of time you sprinted.

Full documentation and examples here:
http://ciq-appbuilder.blogspot.com/

AppBuilder 5:
Now with new features! AppBuilder 5 is a completely new app, so please check it out in the store if you are interested in any of the new features.
https://apps.garmin.com/en-US/apps/fd690281-9c22-4fee-a81e-3b7f39aa67c5

- Store up to four formulas per app. Switch between formulas directly on the watch, without using a phone or PC. With four clone apps, you can store up to 16 formulas total
- User variables. Allows for powerful formulas where information can be stored at one point, like the start of a lap, and used later. e.g. Lap elevation change
- Improved timeavg() options. Allows for simpler, more flexible normalized power function
- More functions and variables

4 clones of AppBuilder are available in the store, so you can have 2 formulas in the same activity
  • As I said above, the following formula records speed in km/h.

    recordsummary(avgspeed_raw*3.6)

    To be clear, the display format does not affect what is recorded, it only affects what's displayed.

    If you want to record pace in decimal minutes per km while still displaying pace normally, please use the following settings, as noted above:

    formula: recordsummary(1 / (avgspeed_raw / 16.667)) ; avgspeed_raw*3.6

    display format: pace

    I feel like this still isn't quite what you want, as it's impossible to get Garmin Connect to display this in the graph as minutes and seconds.

  • Many thanks, I will give this a try ;)

    I thin i was getting confused between what is 'recorded' and what is 'displayed'

    It would be great to have mins and sec as pace in garmin connect seeing as the whole world uses that in general usage and not decimal time!! But as maths teacher i can live with that and do the conversion easily enough.

    Thanks again!

  • Is it possible to display max speed? 

  • Sure, you can use the max() function or you can use the native maxspeed variable:

    max(speed)

    or

    maxspeed

  • maxspeed kept empty also the description says its about pace but I try the other one. 

    • Max pace maxspeed 
      Display format: Pace (converts speed to pace)
  • Is it possible to get the max speed of the current lap and the previous lap?

  • Hey, thanks a lot, just tried on my new Edge. Works. Now I am still looking for a formula to display the overall energy of my workout.

    BUT: it MUST be in kJoule, not derived from "calories". Something like "average-power * active_seconds  / 1000" and it is important to calculate by only using the time, where the POWER is greater than (e.g.) 25W (adjustable would be nice)... Because, if we simply use the overall-timer or "motion-time" for calculation, it would accumulate the descends as well since we are in motion, although the output-power of my legs is zero Slight smile

    I hope, it was understandable - bad English...

    Thanks in advance and happy new year 2024.

  • max speed of the current lap and the previous lap

    I have a formula that shows me maxHR from the five last laps. Maybe you can manipulate that one to show the latest max speed.

    Display auto

    setv( lapCount, lapmax(hr)); setv( 20, lapcount); getv( getv( 20)) + " " + getv( getv( 20) -1) + " " + getv( getv( 20) -2) + " " + getv( getv( 20) -3) + " " + getv( getv(20) -4)

  • Thanks. I still need to test it, but I think it should work with lapmax(speed) and lastlap(lapmax(speed)). 

  • Hi, is it possible to read the Altitude directly from GPS instead the barometer with the App Builder? Regards