cpdctrl-gui/cpdctrl_gui/resources/data_recording.md

648 B

Data recording

Buffer mode

TODO

Data flushing

Measurements can be performed over many hours or multiple days. To make sure that unforeseen accidents like Windows Updates do not ruin the entire measurement, the data can be continuously written to the disk.
To enable this feature, set Flush After to a non-zero value (in the Measurement Settings tab). After <Flush After> number of datapoints are recorded, they are written to the cache directory as serialized numpy array. When the measurement is finished, all partial arrays are loaded again and the complete data can be saved as csv or serialized numpy array (.pkl).