2022-02-22 01:48 AM
Hi,
I need to use the execution_config to enable autonomous mode for my STWIN, and sample intermittently a couple of sensors. So I put at the root of my SDCARD the two json files (DeviceConfig and execution_config) with the following code supposed to datalog for 1 minute and then pause for 14 minutes. However, It only works the first cycle and then never datalogs again, and I get only one collected data folder in the sdcard
{
"info": {
"version": "1",
"auto_mode": true,
"phases_iteration": 0,
"start_delay_ms": 5000,
"execution_plan": [
"datalog",
"idle"
],
"datalog": {
"timer_ms": 60000
},
"idle": {
"timer_ms": 840000
}
}
}
Any idea Why?
thanks,
Solved! Go to Solution.
2022-02-23 08:45 AM
Hi @agenis ,
I checked with our experts, they have tried to reply your failure but without success. However, they are suggesting:
In this way we can exclude an issue related to a slow writing on the SD card, that could block the running firmware.
If my reply answered your question, please click on Select as Best at the bottom of this post. This will help other users with the same issue to find the answer faster.
-Eleon
2022-02-22 04:51 AM
seems after some digging that the variable timer_ms could be int16, so doesnot accept values any higher than 65535 milliseconds;
no clue on how to bypass that... probably need to recompile the firmwarE?
2022-02-23 08:45 AM
Hi @agenis ,
I checked with our experts, they have tried to reply your failure but without success. However, they are suggesting:
In this way we can exclude an issue related to a slow writing on the SD card, that could block the running firmware.
If my reply answered your question, please click on Select as Best at the bottom of this post. This will help other users with the same issue to find the answer faster.
-Eleon