Measurement automation for sweeping setups in Qt