2025-06-18 3:03 AM
Hey,
I'm using STEVAL-STWINKT1B to log data by inserting the SD card and pressing reset (I don't use BLE connection). It's powered by the battery.
I was wondering if there's a way to set a specific logging frequency, like every 15 minutes? The reason I ask is that sometimes logging stops unexpectedly (e.g., when the battery dies), and I end up with empty (.dat) files.
Is this feature already implemented, or would I need to develop the firmware myself? If so, how difficult do you think that would be?
Best,
Anthony
Solved! Go to Solution.
2025-06-19 2:55 AM
Hello @anthonyADV
Are you still referring to FP-SNS-DATALOG2, am I right?
If so, we're already implementing such a feature and we called it “automode”.
Here a couple of screenshots from the Quick Start Guide to guide you enabling logging in loop:
I suggest you take a device_config.json from a previous valid acquisition (or from the acquisition example folder available in STDATALOG-PYSDK).
Then, modify the “automode” section only by modifying the values you need.
Best regards,
Simone
2025-06-19 2:55 AM
Hello @anthonyADV
Are you still referring to FP-SNS-DATALOG2, am I right?
If so, we're already implementing such a feature and we called it “automode”.
Here a couple of screenshots from the Quick Start Guide to guide you enabling logging in loop:
I suggest you take a device_config.json from a previous valid acquisition (or from the acquisition example folder available in STDATALOG-PYSDK).
Then, modify the “automode” section only by modifying the values you need.
Best regards,
Simone
2025-06-20 7:18 AM
Thanks @SimonePradolini.