cancel
Showing results for 
Search instead for 
Did you mean: 

STEVAL-STWINKT1B Save logs frequency

anthonyADV
Associate III

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

1 ACCEPTED SOLUTION

Accepted Solutions
SimonePradolini
ST Employee

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:

SimonePradolini_0-1750326645265.png

SimonePradolini_1-1750326653600.png

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

 

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

View solution in original post

2 REPLIES 2
SimonePradolini
ST Employee

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:

SimonePradolini_0-1750326645265.png

SimonePradolini_1-1750326653600.png

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

 

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
anthonyADV
Associate III

Thanks @SimonePradolini.