Skip to content
Snippets Groups Projects
README.md 1.02 KiB
Newer Older
# Device wrapper

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 "hardware_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 SDP.py, PCC.py and test_device.py. as well as a completely empty template in HW_device_implementation.py


Requires numpy 
```pip install numpy```

Requires opcua 
```pip install opcua```

Requires pytango 
```pip install pytango```