Created one thread specific for datalogging.
Created a timer that activates the periodic datalogging task.
Changed the datalog to use different folders for each experiment performed.
Changed the datalog to use several files,
    with configurable downsampling per file.
Added parameters to pdva_config that set the datalogging period
    and downsampling.