MyCSVMessage save is failing at 3 am during windows 11 maintenance
Posted: Wed Oct 18, 2023 4:04 am
I am writing an hourly MyCSVMessage data string from a data logger Arduino program on the start of each hour (minute()=0). The save to the .txt file occurs hourly except at 3am, when Windows 11 is doing automatic maintenance. At 3am, the message appears in the Megunolink monitor, but there is no record in the text file on the computer for that hour. Apparently the Windows11 automatic maintenance is blocking access to the text file at that time.
I am using the RequestSync() method to set the Arduino clock with the PC clock. I don't think that has any effect on this problem, since the monitor shows that the MyCSVMessage was triggered correctly and appeared in the monitor log.
Any suggestions as to how to get around this problem?
Does anyone from Megunolink scan these posts to answer questions? I have posted 2 other messages here in the past few months and have never received a response from anyone, especially from someone who works for Megunolink.
Thanks, John
I am using the RequestSync() method to set the Arduino clock with the PC clock. I don't think that has any effect on this problem, since the monitor shows that the MyCSVMessage was triggered correctly and appeared in the monitor log.
Any suggestions as to how to get around this problem?
Does anyone from Megunolink scan these posts to answer questions? I have posted 2 other messages here in the past few months and have never received a response from anyone, especially from someone who works for Megunolink.
Thanks, John