What is curious all calculations are calculated and displayed correctly. The error is displayed only once after runing a program and then everything works well. However, it is irritating and I would like to deal with it somehow. I don't know if I understood the error message correctly, but it probably informs me that the variable is empty and i want to use speed to calculate when there is no any data avaible yet? If yes how to solve this issue? Becouse i don't have any more ideas to try.
Colud you help me?
Test the value in the variable with Do It when using the companion app. You do not show in your blocks where you are running that procedure, and it could be before you set the variable?
You did not understand the purpose of the valueIfTagNotThere socket... on first run of the app TinyDB is empty, also will those default values be taken for your calculations... calculations with an empty string do not work,
Value of TinyDB are never empty becouse i always set them after runnig the app if it first time. Now i found a relationship that when the application is running and the GPS does not have a fix yet, the error will show up, but after the fix is found error doesn't show up. So now the question is how to build blocks which will set some constant value of the speed variable when GPS does not have a fix yet?