Skip to content
Snippets Groups Projects
Commit f607f76c authored by Jan David Mol's avatar Jan David Mol
Browse files

L2SS-478: Descibe what steps are needed to add a device

parent 00d9a9dd
No related branches found
No related tags found
No related merge requests found
# Devices
This directory contains the sources for our custom Tango devices.
## Adding a new device
If a new device is added, it will (likely) need to be referenced in several places. Adjust or add the following files (referenced from the repository root), following the pattern shown by the devices already there:
- Adjust `CDB/LOFAR_ConfigDb.json` to create the device in the Tango device database,
- Adjust `docker-compose/jupyter/ipython-profiles/stationcontrol-jupyter/startup/01-devices.py` to make an alias for it available in Jupyter,
- Adjust `tangostationcontrol/tangostationcontrol/devices/boot.py` to add the device to the station initialisation sequence,
- Add to `docker-compose/` to create a YaML file to start the device in a docker container. NOTE: it needs a unique 57xx port assigned,
- Add to `tangostationcontrol/tangostationcontrol/integration_test/devices/` to add an integration test,
- Adjust `sbin/run_integration_test.sh` to have the device started when running the integration tests,
- Add to `docs/source/devices/` to mention the device in the end-user documentation.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment