AccelMag sample

Former Member
Former Member
Hi Garmin fans,
I am having trouble simulating the AccelMag sample from SDK:


########################################
Copying file.... 100% complete
File pushed successfully
Connection Finished
Closing shell and port
Found Transport: tcp
Connecting...
Connecting to device...
Device Version 0.1.0
Device id 1 name "A garmin device"
Shell Version 0.1.0
Could not find symbol AccelMagDelegate.
Symbol Not Found Error
in getInitialView (source/AccelMagApp.mc:26)
Failed invoking <symbol>
Connection Finished
Closing shell and port
###########################

Has anyone got it working?
Is it possible to read out directly from the watch via USB?

Best!
  • Former Member
    Former Member over 8 years ago
    AccelMAg sample

    HI guys I found the error on my build script.
    It works now.

    On simulation It doesnt show any Accel nor Mag Data of course.
    Has anyone actually got Accel Data directly from a compatible watch?


    Best
  • For me the app worked in a fr230 when i sideloaded it. This was about six months ago.
  • It will work in the sim if you select Simulation > FIT Data > Simulate Data in the CIQ simulator.

    This is one of those little details that we probably need to address with code comments in the sample. In fact, it would be useful to have basic use info in code comments for each sample. It's something I've got on a design already, but I don't have a lot of specifics outlined yet. I'll create a ticket for this specific task and use it as a prototype/example for future work. :)
  • Former Member
    Former Member over 8 years ago
    It will work in the sim if you select Simulation > FIT Data > Simulate Data in the CIQ simulator.

    This is one of those little details that we probably need to address with code comments in the sample. In fact, it would be useful to have basic use info in code comments for each sample. It's something I've got on a design already, but I don't have a lot of specifics outlined yet. I'll create a ticket for this specific task and use it as a prototype/example for future work. :)


    That little detail did the job! Thanks for the prompt reply!!!!
  • Former Member
    Former Member over 7 years ago
    It will work in the sim if you select Simulation > FIT Data > Simulate Data in the CIQ simulator.

    This is one of those little details that we probably need to address with code comments in the sample. In fact, it would be useful to have basic use info in code comments for each sample. It's something I've got on a design already, but I don't have a lot of specifics outlined yet. I'll create a ticket for this specific task and use it as a prototype/example for future work. :)


    Hi Brandon,
    is there a way to read the data out and store in the watch? My idea is to create some sort of Accel history i.e every 5 seconds or if I press a button it saves the current Accelerometer coordinates.
    Would you have any ideas?

    Best!
    Andre
  • Have a look at the programmer's guide included with the SDK. There is a section entitled Logging Accelerometer Data that will be of interest to you.
  • Former Member
    Former Member over 7 years ago
    Have a look at the programmer's guide included with the SDK. There is a section entitled Logging Accelerometer Data that will be of interest to you.


    thanks I will have a look!
  • Former Member
    Former Member over 7 years ago
    It seems that the logging is only available on CIQ 2.3 which doesnt support Fenix 3 :(