Closed malitsky closed 6 years ago
I think we want to merge the base configuration into db.named
instead of having a separate lookup system.
Do we want to allow configure_base
to make additional PVs to be included? That seems like something that will be in flux for a while ? For now I guess just walking the db.EventSources
and checking the type is the easiest way to get the right EventSource? I suspect we want to also include some notion of 'name' in the config when creating the EVentSource objects and have some access to that from the DataBroker, ex db.ES['archiver']
or db.ES['raw']
?
:+1: for putting the list of PVs into the databroker configuration file.
integration is implemented with the Broker API using the databroker configuration file and db.ES as demonstrated by the following script and configuration file:
https://github.com/malitsky/nsls2/blob/master/areventsource/notebooks/archiver-reader.db.5.13.18.ipynb https://github.com/malitsky/nsls2/blob/master/areventsource/notebooks/csx_with_archivers.yml
updated configure_base for integrating ArchiverEventSources