Once an interface is decided and implemented for This pr only pertains to the measurement context manger. See https://github.com/microsoft/Qcodes/issues/7078 for high level constructs above this. This requires https://github.com/microsoft/Qcodes/issues/7063 to be completed first.