Skip to content
Snippets Groups Projects
Commit d89e0bc0 authored by Corné Lukken's avatar Corné Lukken
Browse files

Merge branch 'L2SS-590' into 'master'

L2SS-590: Readme index

Closes L2SS-590

See merge request !269
parents fcdb7f3f 55e46b8c
No related branches found
No related tags found
1 merge request!269L2SS-590: Readme index
...@@ -5,6 +5,21 @@ ...@@ -5,6 +5,21 @@
Station Control software related to Tango devices. Station Control software related to Tango devices.
# Index
* [Docker compose documentation](docker-compose/README.md)
* [Timescaledb](docker-compose/timescaledb/README.md)
* [Jupyter startup files](docker-compose/jupyter/ipython-profiles/stationcontrol-jupyter/startup/README.md)
* [Tango Prometheus exporter](https://git.astron.nl/lofar2.0/ska-tango-grafana-exporter)
* [ReadTheDocs (Sphinx / ReStructuredText) documentation](tangostationcontrol/docs/README.md)
* Source code documentation
* [Attribute wrapper documentation](tangostationcontrol/tangostationcontrol/clients/README.md)
* [Archiver documentation](tangostationcontrol/tangostationcontrol/toolkit/README.md)
* [Adding a new tango device](tangostationcontrol/tangostationcontrol/devices/README.md)
* [HDF5 statistics](tangostationcontrol/tangostationcontrol/statistics_writer/README.md)
* [Unit tests](tangostationcontrol/tangostationcontrol/test/README.md)
* [Integration tests](tangostationcontrol/tangostationcontrol/integration_test/README.md)
# Installation # Installation
## Prerequisites ## Prerequisites
......
# Tango Station Control Device wrappers
This code provides an attribute_wrapper class in place of attributes for tango devices. the attribute wrappers contain additional code
that moves a lot of the complexity and redundant code to the background.
The tango Device class is also abstracted further to a "lofar_device" class. This class wraps
The only things required on the users part are to declare the attributes using the attribute_wrapper (see `example/example_device`),
declare what client the attribute has to use in the initialisation and provide support for the used clients.
To see how to add support for new clients, see `clients/README.md`
In addition it also provides an abstraction to the tango device, specifically for hardware devices. Examples of hardware devices
can be found in TODO and an empty template can be found in `HW_device_template.py`
Requires numpy
```pip install numpy```
Requires opcua
```pip install opcua```
Requires pytango
```pip install pytango```
### usage
You can start the device by calling it in any console with:
<Device_name>.py instance_name
...@@ -92,7 +92,7 @@ The attribute wrapper relies on 1 internal file. tango/tangostationcontrol/devic ...@@ -92,7 +92,7 @@ The attribute wrapper relies on 1 internal file. tango/tangostationcontrol/devic
## Closing ## Closing
The advantages of using attribute_wrapper class instead of the standard Tango Attribute class can be noted in the following example where, in the first part, an implementation of the standard class is presented, while in the second part the analogous implementation using an attribute_wrapper is shown. The advantages of using attribute_wrapper class instead of the standard Tango Attribute class can be noted in the following example where, in the first part, an implementation of the standard class is presented, while in the second part the analogous implementation using an attribute_wrapper is shown.
##From official Tango documentation # ## From official Tango documentation
```python ```python
class PowerSupply(Device): class PowerSupply(Device):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment