Hi,

ARTIQ now uses the single concept of "dataset" to manage the data
exchanged with experiments, which we discussed briefly during the last
visit.

A dataset is created using the set_dataset() method of HasEnvironment,
which takes a key/value pair. Its last arguments are flags that
determine how the data is handled:
 * broadcast: the data is sent in real-time to the master, which
dispatches it. set_dataset() returns a Notifier that can be used to
mutate the dataset.
 * persist: the master should store the data on-disk (equivalent of a
"parameter" in the previous API). Implies broadcast.
 * save: the data is saved into the local storage of the current run
(which ends up archived as a HDF5 file).

All combinations of those flags are supported.

Datasets can be retrieved using the get_dataset() method. The local
storage is searched first, followed by the master storage (which
contains the broadcasted results from all experiments) if the key was
not found.

Any comments?

Sébastien
_______________________________________________
ARTIQ mailing list
https://ssl.serverraum.org/lists/listinfo/artiq

Reply via email to