Can anyone point me to the Hdb++ detailed documentation required from developers perspective - API documentation/details etc.
so far I could only find this :
but this is providing more of functional overview of the tool.
Thanks
Can anyone point me to the Hdb++ detailed documentation required from developers perspective - API documentation/details etc.
so far I could only find this :
but this is providing more of functional overview of the tool.
Thanks
Hi TCS_GMRT,
Below are the links available in my bookmarks:
[b][list]
HDB++ Viewer Documentation
[/list]
[list]
Hdb Java Doc
[/list][/b]
Hope it helps.
Kind regards,
Jyotin
Hi Jyotin,
Thank you for your quick response.
I need more information/details about jhdbviewer. In above documentation, It is not clear that how all the things are working in jhdbviewer. Can you provide me detailed documents for the same?
Hi TCS_GMRT,
I don’t have any document for jhdbviewer. However, I think going through the jhdb viewer source code is a good start.
Maybe someone from the Tango Forum can help you with the documentation available, if any.
Kind regards,
Jyotin
Hi Jyotin,
Thank you for your valuable suggestion. Can anyone from the Tango Forum have some documents for the jhdviewer?
Is there python API available for jhdviewer?
Hi,
It seems there is a misunderstanding here…
jhdbviewer is a graphical user interface written in Java to retrieve and display data which is stored in HDB++ database.
Can you please describe more precisely what you would like to do?
Are you looking for a python API to extract data from HDB++?
Cheers,
Reynald
Hi Reynald,
Yes, you understood it right. We are looking for a python API to extract data from HDB++.
Additionally, we are also looking for a time based dynamic chart in the jhdviewer. Currently jhdviewer displays chart based on stored data(Attached). Can we have dynamic feature as well?
You can use PyTangoArchiving as described in this post from Sergi Rubio:
http://www.tango-controls.org/community/forum/c/general/installation/gui-for-hdbextractor/?page=1#post-433
I think the archiving browser from pyTangoArchiving is already providing such a feature (I guess you meant you want to see live data too?).
This feature will probably be added into JHdbViewer in the future too.
Since the time when Sergi posted that message, I think now it can work as well with new HDB++ schema and with Cassandra too…
Sergi can probably help you if you need more details about that.
Hi Reynald,
Thank you for response. Is it also available for Hdb++?
Hi TCS, Reynald.
In PyTangoArchiving we currently support plotting of HDB++ double and integer attributes on Taurus 3 trend widgets. The archived values are plot together with the current data, any change on time scale will load the archived data into the live data buffers.
The “but” is that it is not supported yet on Taurus 4 and arrays and some other types are not yet supported (short, unsigned).
This work is ongoing. If you’re interested in the feature you can test the current behavior from GitHub - tango-controls/PyTangoArchiving: Python API for Tango Archiving System, MOVED TO GITLAB!!. I’ll publish a note on the forum when the Taurus 4 support will be ready.
Sergi
Hi Sergi,
Thank you for your response. What is the expected date for next release which supports all data types on Taurus 4?
Hi All,
I am exploring PyTangoArchiving. I’m trying to extract archived data, but it does not seem to work with HDB++. Are you sure it supports HDB++ too? Currently it is not able to extract archived data(Attached). I attached snapshot for the same.
Hi,
As PyTangoArchiving does not parse automatically the setup of HDB++ devices (sorry), you have to add it manually using properties.
In Jive:
Edit => Create Free Property => PyTangoArchiving
Tabs => Property => New Property => DbConfig = user:password@host/db_name
It should be enough, to test it do:
import PyTangoArchiving as pta
rd = pta.Reader()
print(rd.get_attributes())
Your archived attributes should appear in the list, then just read the values from
the API or the GUI:
rd.get_attribute_values('lmc/c01/fecb/...',-600)
BUT!, it is currently in production only with HDB++ and MySQL. I haven’t used it over Cassandra for a year or so, so its support may be broken.
In a month or so I’ll have a Cassandra setup for testing.
Sergi
Hi Sergi,
I am trying this as you suggested (Create Free Property), still I am not able to connect with hdbpp.
I attached snapshots for the same.
Hi it looks like there is a bug in the parsing of DbConfig free property when the password contains a ‘@’.
If I were you I would change the MySQL password and avoid the ‘@’ character in the password.
Hi Reynald,
Yes, It is a bug. Now it is working fine as I changed the password of database. Thank you.
Hi,
As jhdbviewer, It provides feature to plot extract data as form of chart or table. Is there any future plans to implement real time/dynamic graph/chart plotting in jhdbviewer?
Also see the attached file.
When click on show legend, It will show the attributes/parameters name with its device server name
(like tango/hdb/cm-1/archiverstatus).
If I want only attribute name(like archiverstatus), so where need to be change in source code?