Nikola Gramatikov Posted September 17, 2017 Report Posted September 17, 2017 Hello, I'm try to write more than one dt to sd card. I cannot doit. Any ideas ??? I attach the ledder. I'm writing a one raw each 15 minutes than i want to append it to sd card It works but only for the first DT Best wishes, eng. Nikola Gramatikov
MVP 2023 Ausman Posted September 18, 2017 MVP 2023 Report Posted September 18, 2017 Hi Nikola, I might be wrong, but a quick look at this and it appears that you don't have a means for the DT(s) addressing to be renamed sequentially each write. You should check your current saved writes as I think you will find that the data is changing every 15 minutes, if variations in conditions have occurred. Also, you may find that it will be better to be referring your 15 minutes to the RTC, instead of a timer. This way it will let you graph things in a more sensible way for later interpretation. There are a few ways to do this based around using SI31-35, which can also be incorporated into my first comment. cheers, Aus
Cam Posted September 18, 2017 Report Posted September 18, 2017 You should also break you bet 19 and 20 up so that 19 becomes 2 nets and 20 becomes 3 separate nets
Nikola Gramatikov Posted September 18, 2017 Author Report Posted September 18, 2017 Hello, I remove MB28 as a condition for write system log and split the nets and now everything works. Yes my data changes evey 15minutes and I write/append this raw to the sd card Why is better to use a RTC time for this. I cannot understand ?!?! Best wishes, eng. Nikola Gramatikov
MVP 2023 Ausman Posted September 18, 2017 MVP 2023 Report Posted September 18, 2017 Hi again Nikola, glad it's working. Your 15 minute timer method works fine, but I always use the RTC for logging that also relates to time, as it gives you a consistent reference point for observations of your logging. In theory you are logging to look at your data at some stage later on. So having this relating to a definite time of the day makes things easier to manipulate, and gives a more consistent approach for displaying your data. It's not a major issue, just a personal preference I have evolved over the years. There is also the chance of your 15 minute timer gradually shifting it's 1/4 hour relative to the RTC, owing to the way timers work. cheers, Aus
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now