This is a Taurus plugin that provides access to the Tango archiving system. It uses the PyTangoArchiving module.
This module also provide a programmatic taurusgui: tpgarchiving
. This GUI requires taurus_pyqtgraph plugin.
The GUI defines 3 main widgets: A tpg TaurusPlot
, a TangoArchivingModelSelectorItem
and a pg LegendItem
. These widgets allows to choose any archiving attributes and plot it.
This plugin is auto register and auto enabling during the installation.
You can install it via python setup.py install
or pip install .
Once the new scheme is enabled in your taurus installation, you can use tpgarch
URIS with taurus.
e.g.
- Get the last 12h of
tdb
archived data from the tango attributea/b/c/d
with::
import taurus
myattr = taurus.Attribute('tgarch:/a/b/c/d?db=tdb?t0=-0.5d')
NOTE: More URIS examples can be found on the test.test_tangoarchivingvalidator.py
module of this project.
- Show the values in a TaurusForm:
$> taurusform 'tgarch:/a/b/c/d?db=tdb?t0=-0.5d'
- Or simplilly run the
tpgarchiving
taurusgui:
$> tpgarchiving