$ artiq_client --server localhost set-dataset wall_v 0.5 Results in a change in the Dataset value as indicated in the GUI. But it also changes the Persistent flag to N even if it was previously Y. It should leave the Persistent flag unchanged.
$ artiq_client does not have an option for specifying persistence flag Display of datasets for numpy arrays could give shape as string in GUI. "numpy({})".format(numpy.shape(a)) On Mon, Oct 12, 2015 at 7:51 AM, Sébastien Bourdeauducq <s...@m-labs.hk> wrote: > 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 >
_______________________________________________ ARTIQ mailing list https://ssl.serverraum.org/lists/listinfo/artiq