archive events, hdb++ installation, poll vs callback
I'm new to Tango Controls and try to obtain a clear view of the ecosystem.
First step, I wrote very quickly a device server which allows to drive 2 arduino (device ?) with one raspberry (device server ?). The main computer (server ?) give to users GUI to manage devices and visualize results and alerts. It's not perfect but it runs !
Second step, I tried to install the tools from scratch to get a clear view of interactions between all tools : it works partially.
Now, my questions :
- I understood device servers are polled by the server. Is it possible to reverse the interaction ie allow device servers to alert the server in case of sort of emergency
- I don't understand how to archive events
- I can't achieve the hdb++ installation, I can't start configurator … I don't understand what is the HdbManager and how to add it to configuration db
- Finally, is there a way to get a short interactive formation, not to learn details but to apprehend the philosophy ?
Many thanks to all !
Welcome to tango-controls community!
I encourage you to have a look at the tango-controls documentation, especially the
simplified tango device server model and the glossary to better understand the terms device and device server.
Have a look at the Tango events (link to documentation), there are a way to notify all interested clients when something interesting happens:
First you need to get familiar with the Tango events and learn how a device server can be configured to send events.
There are different types of events. Among these different types, there are the "archive events". These are the events which are used by the HDB++ system.
You will need to give us more details to help us helping you:
What did you managed to install?
What are you calling configurator? Is it the HDB++ Configurator GUI (Github repository: https://github.com/tango-controls-hdbpp/hdbpp-configurator and documentation: http://www.esrf.fr/computing/cs/tango/tango_doc/tools_doc/hdb++-configurator ).
In HDB++, there is a special Tango device from HDBConfigurationManager class which must be running in order to be able to configure the Tango attributes you would like to archive into the HDB++ database.
Here is a link to HDB++ Configuration Manager class github repository: https://github.com/tango-controls-hdbpp/hdbpp-cm.
What do you mean with short interactive formation?
In particular, what do you mean with interactive? A teleconference, chat, training in person?
Rosenberg's Law: Software is easy to make, except when you want it to do something new.
Corollary: The only software that's worth making is software that does something new.
many thanks !
it's one small post but one giant leap for me !
With the 'Configuration Manager', I had blind installed but no run, I have now all the tools to launch the configurator and play with archives !
Notice that my '/etc/hosts' was incorrect, I needed to add 'myip myhostname' like '127.0.0.1 myhostname' … All was fine with the raspberry (with DNS) but not on my server (with '/etc/hosts').
I mean with 'short interactive formation' a sort of training in person but more a flipped classroom than an academic lecture ;) a travel through questions/explanations cycle.
I now read about Tango Events …
PS : in fact, it was a large post ;)