Skip to content

Realistic dummy acquisition (QAE-877)

Currently it is not possible to add binned dummy acquisition data for quantify tests, only in the most simple case. This change makes sure, that the dummy acquisition data only appears when the sequence has run, otherwise it is hidden.

The main issue is that the acquisition data is deleted (mainly because of recent changes in quantify quantify-os/quantify-scheduler!438 (merged) and quantify-os/quantify-scheduler!505 (merged)) just before running the schedule in quantify, and the dummy data cannot be retrieved.

This change makes sure that there is multiple state of the dummy acquisition data: stored in the dummy transport (or not stored), and visible if the data is retrieved (or not visible). In practice it means, that even if a new sequence is uploaded, or the data is deleted by the delete_acquisition_data, the dummy data is still stored, but when the user tries to retrieve it, the result will be empty. But if after that the user runs any sequence, the dummy data is again visible through the usual acquisition retrieval methods.

Sidenote: I also had to implement other functions (start, stop, arm), because otherwise it's not really possible to use dummy data in quantify now. Also, the behavior and implementation for the dummy logic hiding can be contested, I'm up for a discussion if there is a more elegant way, but it's difficult to incorporate this logic into the current implementation.

Edited by Gábor Oszkár Dénes

Merge request reports