Override the Simulator's default "Smart Recording"?

Is there a way to override the Simulator's default "Smart Recording" behaviour?

  • You mean in the .fit generated with a CIQ app?  I never checked, but I thought the generated fit would be 1 sec and not smart, unless you were playing back a .fit was recorded using smart..

  • Yes, the .fit from the CIQ app in the Connect IQ Simulator.

    And no, it doesn't: Here are some results from today's test decoded to CSV for my app.. As you can see, the seconds are not continuous:

    2021-09-10 01:27:50+00:00,-33.005831,152.260115,5,,,,,,
    2021-09-10 01:27:51+00:00,-33.005779,152.260062,5,,,,,,
    2021-09-10 01:27:52+00:00,-33.005732,152.260004,5,,,,,,
    2021-09-10 01:27:53+00:00,-33.005691,152.259944,5,,,,,,
    2021-09-10 01:27:54+00:00,-33.005643,152.259887,5,,,,,,
    2021-09-10 01:27:56+00:00,-33.00554,152.259783,5,,,,,,
    2021-09-10 01:27:57+00:00,-33.005492,152.259726,5,,,,,,
    2021-09-10 01:27:59+00:00,-33.005376,152.25964,5,,,,,,
    2021-09-10 01:28:00+00:00,-33.005302,152.259626,5,,,,,,
    2021-09-10 01:28:02+00:00,-33.005169,152.259572,5,,,,,,
    2021-09-10 01:28:03+00:00,-33.005143,152.259503,5,,,,,,
    2021-09-10 01:28:06+00:00,-33.005036,152.259317,5,,,,,,
    2021-09-10 01:28:07+00:00,-33.004985,152.259265,5,,,,,,

  • Are you playing back something that was recorded with 1 sec or smart? What is the input?

  • I wasn't "playing back" a file. I was using the "Simulate Data" option.

  • I was using the "Simulate Data" option.

    I can confirm that the Unix timestamp generated by the sim via Simulation>FIT Data>Simulate Data does not 1s recording.

    ...
    Data,9,record,timestamp,"999041421",s,...
    Data,9,record,timestamp,"999041424",s,...
    Data,9,record,timestamp,"999041426",s,...
    Data,9,record,timestamp,"999041432",s,...
    Data,9,record,timestamp,"999041438",s,...
    Data,9,record,timestamp,"999041440",s,...
    Data,9,record,timestamp,"999041446",s,...
    Data,9,record,timestamp,"999041451",s,...
    Data,9,record,timestamp,"999041455",s,...
    Data,9,record,timestamp,"999041457",s;...
    ...

    I have already searched the sim for a 1s setting, but this is obviously not possible. So to test algorithms, I'm currently manually editing the .fit file to a 1s recording and then playing it back with the sim and output results to the console using println().