In order to limit the number of writes to disk, we should store data in memory before writing to disk.
This is ok because we know the size of the requests. This will become memory-hungry as the request size grows.
This change is affected by a bug in the Python DPM data logger DAQ. It has been found that the penultimate block of data is sometimes returned after the ultimate empty data message to indicate that there are no more data.
In order to limit the number of writes to disk, we should store data in memory before writing to disk.
This is ok because we know the size of the requests. This will become memory-hungry as the request size grows.
This change is affected by a bug in the Python DPM data logger DAQ. It has been found that the penultimate block of data is sometimes returned after the ultimate empty data message to indicate that there are no more data.