archive events, hdb++ installation, poll vs callback

Hi,
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 !
Pierre Héricourt
CELIA/CNRS
Hi Pierre,

Welcome to tango-controls community! smile

Pierre
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 !

Hi Pierre,
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.

Pierre
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

Have a look at the Tango events (link to documentation), there are a way to notify all interested clients when something interesting happens:

Pierre
- I don't understand how to archive events

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.

Pierre
- 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

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.

Pierre
- Finally, is there a way to get a short interactive formation, not to learn details but to apprehend the philosophy ?

What do you mean with short interactive formation?
In particular, what do you mean with interactive? A teleconference, chat, training in person?

Kind regards,
Reynald
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.
Hello,
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 …
Best regards
Pierre
PS : in fact, it was a large post ;)
 
Register or login to create to post a reply.