Presently, an implication of broadcast=True is inclusion in influxdb.
Influxdb has an optional configuration file for choosing what gets included
in the time-series database.

https://github.com/m-labs/artiq/blob/master/artiq/frontend/artiq_influxdb.py#L55

Alternately, consider adding an option to set_dataset(timeseries=True). In
this way set_dataset() fully specifies the user's intent for datasets
within ARTIQ.

* Suggested changes to current Persist column of Dataset tab of GUI.
    * change column header to "TPS"
    * add cursor hover help
    """T: log dataset to Influx Time-series database
        P: most recent dataset Persists between restarts of GUI
        S: for experiment currently selected in Explorer, dataset saved to
disk for each run of the experiment (in HDF5 file)"""
    * in monospace font each row contains XYZ where
        * X is in {" ", "T"}
        * Y is in {" ", "P"}
        * Z is in {" ", "S"}
    * XY are global properties of datasets and are static with respect to
experiment selection
    * Z depends on which experiment is currently selected


On Mon, Oct 12, 2015 at 7:51 AM, Sébastien Bourdeauducq <[email protected]>
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

Reply via email to