06-10-2014 06:52 AM - edited 06-10-2014 06:52 AM
As for a buffer, I would do something like this. The queue actually implements a really efficient circular buffer. So let's use that to store a buffer of the last 60 seconds. If something goes back, you save the data from the last 60 seconds.
06-11-2014 08:21 AM
Cross, thanks for the help. I see now how this is a lot better than creating a new file every time and deleting it, making it a memory intensive setup. I appreciate the help.