Hey All,
I have my PAC set up where I am constantly appending to a .txt file on the microSD card, 8 data points at a time. A separate chart that is running in parallel constantly checks if there is data in there and pulls the first 8 data points and sends it to a database.
Is there any way that I can delete the first 8 data points so that after I send data to the database, it deletes that from the .txt, and then loops back and references point 1-8 (though in reality because of the shift its 9-16). The reason I want to do this is because I don’t want to keep a running count of how far along I am in the text file, and I also don’t want this .txt file to grow too large.
Thanks!