DataField: HF-Histogram

Former Member
Former Member
Support Thread for my App HF-Histogram:

New Version 1.4 published, you can now select the background between black and white and set the startmode of the datafield (start with recording or immediately)
  • Former Member
    Former Member over 9 years ago
    Actually it will be something like A786FB5A.txt as the name from the store is generated by the store, and isn't just a shortened version of the name in the .IQ file. The first 8 characters are just some combo of letters and numbers. And the name of the .txt file uses the same 8 characters are the app store generated name. Same if there is a .set file.

    Ok, thanks for that, should have loaded my own app via the store :cool:
    Can't find such info in the IQ programmer's guide.
    So if the generated name does not change for different downloads the logfile is now GARMIN\APPS\LOGS\32574CA8.txt
  • Ok, thanks for that, should have loaded my own app via the store :cool:
    Can't find such info in the IQ programmer's guide.
    So if the generated name does not change for different downloads the logfile is now GARMIN\APPS\LOGS\32574CA8.txt


    Actually, I don't think it's consistent, and even varies if you download with Garmin Express or Garmin Connect Mobile.
  • Ok i installed histogram again. 5CM65903 file. Make 5CM65903.txt in logs. Fired up app with it, got IQ! sign, end and save workout (few sec).
    Log:

    PartNumber: 006-B1988-00
    Firmware: [3, 10]
    MonkeyVersion: [1, 2, 1]
    ScreenShape: 3
    ScreenWidth: 205
    ScreenHeigh: 148
    MyMinHr:100
    MyMaxHr:208
    UnexpectedTypeException: Expected Number/Float/Long/Double, given Number/String
    initialize in TVM/api/Ant.mb:124


    I have 10K run today if i made it i will write.
  • I'm pretty sure that the error is the value returned from getProperty() is of type string. This often happens if using Garmin Connect Mobile to configure the app settings. Be sure to check for null, apply a default value if necessary, and then explicitly convert to the expected type when you read the app settings.
  • MyMinHr:100
    MyMaxHr:208

    Those are my settings. I asked, are there any restrictions. There are no default settings so i will reinstal the app.

    Ok it works when on default settings. Are any restrictions to max and min?
  • Former Member
    Former Member over 9 years ago
    I'm pretty sure that the error is the value returned from getProperty() is of type string. This often happens if using Garmin Connect Mobile to configure the app settings. Be sure to check for null, apply a default value if necessary, and then explicitly convert to the expected type when you read the app settings.



    I thought if the type is number it should be handled by the App Settings Module in a way that only integers are returned,
    (because only numbers can be entered).


    [HTML] <properties>
    <property id="appVersion" type="string">"1.2"</property>
    <property id="MyMinHr" type="number">100</property>
    <property id="MyMaxHr" type="number">220</property>
    </properties>

    <setting propertyKey="@Properties.MyMinHr" title="@Strings.MyMinHrTitle" prompt="@Strings.MyMinHrPrompt">
    <settingConfig type="numeric" min="20" max="250" errorMessage="@Strings.MyMinHrError" />
    </setting>[/HTML]

    Your suggestion to check for null and apply a default value is good, will implement soon, thanks.

    @MikeDozer: You can see the limits from the above code, in the Apps Setting there will be an error if out of range.
    Were you using the connect mobile app for settings ? You may try the PC version.

    Thanks
  • So restrcion are min="20" max="250". Strange that it dont work with 60 and 208. I will try from GE.
  • Former Member
    Former Member over 9 years ago
    Published a new Version 1.3
    Tested App setting with my fr920xt and Garmin Connect Mobile Android,
    found no problem so far.
  • Former Member
    Former Member over 9 years ago
    how to start the app?

    Hi,
    can someone tell me, how to start this app on fenix3
    Thanks
  • Former Member
    Former Member over 9 years ago
    HF-Histogram is a Data Field App and needs to be added to one of your activities.
    As soon as the activity is selected the DataField starts.
    You should see a "HF-Histogram starting ..." message.
    With default settings the graph will start when 100 heartbeats per minute are reached.