Skip to content
Snippets Groups Projects
Commit f5f82d19 authored by Taya Snijder's avatar Taya Snijder
Browse files

added CCD devive files

parent 0889d763
No related branches found
No related tags found
2 merge requests!415Draft: Resolve L2SS-912 "Add ccd device testing",!406Resolve L2SS-912 "Add ccd device"
...@@ -169,6 +169,16 @@ ...@@ -169,6 +169,16 @@
} }
} }
}, },
"CCD": {
"STAT": {
"CCD": {
"STAT/CCD/1": {
"properties": {
}
}
}
}
},
"APSPU": { "APSPU": {
"STAT": { "STAT": {
"APSPU": { "APSPU": {
......
...@@ -60,6 +60,25 @@ ...@@ -60,6 +60,25 @@
} }
} }
}, },
"CCD": {
"STAT": {
"CCD": {
"STAT/CCD/1": {
"properties": {
"OPC_Server_Name": [
"10.87.6.67 "
],
"OPC_Server_Port": [
"4843"
],
"OPC_Time_Out": [
"5.0"
]
}
}
}
}
},
"APSPU": { "APSPU": {
"STAT": { "STAT": {
"APSPU": { "APSPU": {
......
#
# Docker compose file that launches an interactive iTango session.
#
# Connect to the interactive session with 'docker attach itango'.
# Disconnect with the Docker deattach sequence: <CTRL>+<P> <CTRL>+<Q>
#
# Defines:
# - itango: iTango interactive session
#
# Requires:
# - lofar-device-base.yml
#
version: '2.1'
services:
device-ccd:
image: device-ccd
# build explicitly, as docker-compose does not understand a local image
# being shared among services.
build:
context: ..
dockerfile: docker-compose/lofar-device-base/Dockerfile
args:
SOURCE_IMAGE: ${LOCAL_DOCKER_REGISTRY_HOST}/${LOCAL_DOCKER_REGISTRY_USER}/tango-itango:${TANGO_ITANGO_VERSION}
container_name: ${CONTAINER_NAME_PREFIX}device-ccd
logging:
driver: "json-file"
options:
max-size: "100m"
max-file: "10"
networks:
- control
ports:
- "5721:5721" # unique port for this DS
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
- ..:/opt/lofar/tango:rw
environment:
- TANGO_HOST=${TANGO_HOST}
working_dir: /opt/lofar/tango
entrypoint:
- bin/start-ds.sh
# configure CORBA to _listen_ on 0:port, but tell others we're _reachable_ through ${HOSTNAME}:port, since CORBA
# can't know about our Docker port forwarding
- l2ss-ccd Ccd STAT -v -v -ORBendPoint giop:tcp:device-ccd:5721 -ORBendPointPublish giop:tcp:${HOSTNAME}:5709
restart: on-failure
...@@ -69,7 +69,7 @@ sleep 1 # dsconfig container must be up and running... ...@@ -69,7 +69,7 @@ sleep 1 # dsconfig container must be up and running...
# shellcheck disable=SC2016 # shellcheck disable=SC2016
echo '/usr/local/bin/wait-for-it.sh ${TANGO_HOST} --strict --timeout=300 -- true' | make run dsconfig bash - echo '/usr/local/bin/wait-for-it.sh ${TANGO_HOST} --strict --timeout=300 -- true' | make run dsconfig bash -
DEVICES="device-boot device-apsct device-apspu device-sdp device-recv device-bst device-sst device-unb2 device-xst device-beamlet device-digitalbeam device-tilebeam device-psoc device-pcon device-antennafield device-temperature-manager device-observation device-observation-control" DEVICES="device-boot device-apsct device-ccd device-apspu device-sdp device-recv device-bst device-sst device-unb2 device-xst device-beamlet device-digitalbeam device-tilebeam device-psoc device-pcon device-antennafield device-temperature-manager device-observation device-observation-control"
SIMULATORS="sdptr-sim recv-sim unb2-sim apsct-sim apspu-sim" SIMULATORS="sdptr-sim recv-sim unb2-sim apsct-sim apspu-sim"
......
...@@ -35,6 +35,7 @@ where=. ...@@ -35,6 +35,7 @@ where=.
[options.entry_points] [options.entry_points]
console_scripts = console_scripts =
l2ss-apsct = tangostationcontrol.devices.apsct:main l2ss-apsct = tangostationcontrol.devices.apsct:main
l2ss-ccd = tangostationcontrol.devices.ccd:main
l2ss-apspu = tangostationcontrol.devices.apspu:main l2ss-apspu = tangostationcontrol.devices.apspu:main
l2ss-psoc = tangostationcontrol.devices.psoc:main l2ss-psoc = tangostationcontrol.devices.psoc:main
l2ss-pcon = tangostationcontrol.devices.pcon:main l2ss-pcon = tangostationcontrol.devices.pcon:main
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment