MSOS: move DAQ control to own class
Instead of defining a lot of functions in take_data.py
, write a class that handles DAQ for MSOS254A.
A bit of rewrite using the class now allows to take data for a fixed amount of time, not only a fixed number of events.