On the second run through the list in data is showing empty and I'm using a different tag dad, front, 30 seconds. however I'm getting the 10 second data and the 30 second data. What makes me think the global data create list is not clearing is if I build the apk and turn the app off between runs it works fine.
yeah when the data gathering starts I use the create list to clear the old data. I store the list in the same variable that is now clear and when the data gathering has finished I store it in tinydb.
This is when I first run through the app, the list in global data is empty and I'm storing the data in tinydb under the tag dad,front,10 seconds
On the second run through the list in data is showing empty and I'm using a different tag dad, front, 30 seconds. however I'm getting the 10 second data and the 30 second data. What makes me think the global data create list is not clearing is if I build the apk and turn the app off between runs it works fine.
You are using a global variable as your tag for your TinyDB READ into your data variable.
How do you know if it is current to what you are looking for?
Could you instead rebuilt the tag on the fly and feed it directly?
I select the tag to be used at the beginning of the app and all the data for that tag is stored at the end. When I have a different tag it should pull up the data stored previously to that tag. And it works when I come out of the app between runs but not if I don't.
The screen initializes and you select the trainee and exercise and duration which will be the tag. When you press start the objects on display turn to false and the graphing part turns to true.
Your screen shot of the Do It results gets too fuzzy under magnification to read.
There is a way to prepare a sharp download, using the block level Download as PNg right click option.
Download the setTag procedure, hopefully with the comments intact, and we should be able to read all those Do It comments in our Blocks Editors.
Don't edit the .png file otherwise it will break the importability.
there are four clocks but there all triggered one after the other. Like I say it works when i come out and go back in which makes me think the global variable isn't really emptying.