diff --git a/CDB/LOFAR_ConfigDb.json b/CDB/LOFAR_ConfigDb.json index e903a459ef687aa8ee11164c58cc0c22c43c1347..cee2cb24cbd336bf17d25760b2f13d599ea17ddb 100644 --- a/CDB/LOFAR_ConfigDb.json +++ b/CDB/LOFAR_ConfigDb.json @@ -1,9 +1,9 @@ { "servers": { "docker_device": { - "LTS": { + "STAT": { "Docker": { - "LTS/Docker/1": {} + "STAT/Docker/1": {} } } }, @@ -15,23 +15,23 @@ } }, "observation_control": { - "LTS": { + "STAT": { "ObservationControl": { - "LTS/ObservationControl/1": {} + "STAT/ObservationControl/1": {} } } }, "boot": { - "LTS": { + "STAT": { "Boot": { - "LTS/Boot/1": {} + "STAT/Boot/1": {} } } }, "APSCT": { - "LTS": { + "STAT": { "APSCT": { - "LTS/APSCT/1": { + "STAT/APSCT/1": { "properties": { } } @@ -39,9 +39,9 @@ } }, "APSPU": { - "LTS": { + "STAT": { "APSPU": { - "LTS/APSPU/1": { + "STAT/APSPU/1": { "properties": { } } @@ -49,9 +49,9 @@ } }, "RECV": { - "LTS": { + "STAT": { "RECV": { - "LTS/RECV/1": { + "STAT/RECV/1": { "attribute_properties": { "Ant_mask_RW": { "archive_period": [ @@ -459,9 +459,9 @@ } }, "random_data": { - "LTS": { + "STAT": { "Random_Data": { - "LTS/random_data/1": { + "STAT/random_data/1": { "properties": { "polled_attr": [ "rnd1", @@ -513,7 +513,7 @@ ] } }, - "LTS/random_data/2": { + "STAT/random_data/2": { "properties": { "polled_attr": [ "rnd1", @@ -563,9 +563,9 @@ } }, "SDP": { - "LTS": { + "STAT": { "SDP": { - "LTS/SDP/1": { + "STAT/SDP/1": { "attribute_properties": { "SDP_mask_RW": { "event_period": [ @@ -736,9 +736,9 @@ } }, "SST": { - "LTS": { + "STAT": { "SST": { - "LTS/SST/1": { + "STAT/SST/1": { "properties": { "Statistics_Client_UDP_Port": [ "5001" @@ -770,9 +770,9 @@ } }, "XST": { - "LTS": { + "STAT": { "XST": { - "LTS/XST/1": { + "STAT/XST/1": { "properties": { "Statistics_Client_UDP_Port": [ "5002" @@ -804,9 +804,9 @@ } }, "UNB2": { - "LTS": { + "STAT": { "UNB2": { - "LTS/UNB2/1": { + "STAT/UNB2/1": { "properties": { } } diff --git a/CDB/integration_ConfigDb.json b/CDB/integration_ConfigDb.json index aa67083d5c849d9fb653726f71387d71057923a1..7cfbd82751791d7968315923edfc2ba971480308 100644 --- a/CDB/integration_ConfigDb.json +++ b/CDB/integration_ConfigDb.json @@ -1,9 +1,9 @@ { "servers": { "APSCT": { - "LTS": { + "STAT": { "APSCT": { - "LTS/APSCT/1": { + "STAT/APSCT/1": { "properties": { "OPC_Server_Name": [ "apsct-sim" @@ -20,9 +20,9 @@ } }, "APSPU": { - "LTS": { + "STAT": { "APSPU": { - "LTS/APSPU/1": { + "STAT/APSPU/1": { "properties": { "OPC_Server_Name": [ "apspu-sim" @@ -39,9 +39,9 @@ } }, "RECV": { - "LTS": { + "STAT": { "RECV": { - "LTS/RECV/1": { + "STAT/RECV/1": { "properties": { "OPC_Server_Name": [ "recv-sim" @@ -58,9 +58,9 @@ } }, "SDP": { - "LTS": { + "STAT": { "SDP": { - "LTS/SDP/1": { + "STAT/SDP/1": { "properties": { "OPC_Server_Name": [ "sdptr-sim" @@ -125,9 +125,9 @@ } }, "SST": { - "LTS": { + "STAT": { "SST": { - "LTS/SST/1": { + "STAT/SST/1": { "properties": { "Statistics_Client_UDP_Port": [ "5001" @@ -204,9 +204,9 @@ } }, "XST": { - "LTS": { + "STAT": { "XST": { - "LTS/XST/1": { + "STAT/XST/1": { "properties": { "Statistics_Client_UDP_Port": [ "5002" @@ -283,9 +283,9 @@ } }, "UNB2": { - "LTS": { + "STAT": { "UNB2": { - "LTS/UNB2/1": { + "STAT/UNB2/1": { "properties": { "OPC_Server_Name": [ "unb2-sim" diff --git a/CDB/jasper_ConfigDb.json b/CDB/jasper_ConfigDb.json index 8455c1859e4a122f38b95be929c81a3af164aede..a156f34ce1e642da3637622439e1cc8f90b7bb4e 100644 --- a/CDB/jasper_ConfigDb.json +++ b/CDB/jasper_ConfigDb.json @@ -8,16 +8,16 @@ } }, "observation_control": { - "LTS": { + "STAT": { "ObservationControl": { - "LTS/ObservationControl/1": {} + "STAT/ObservationControl/1": {} } } }, "RECV": { - "LTS": { + "STAT": { "RECV": { - "LTS/RECV/1": { + "STAT/RECV/1": { "attribute_properties": { "Ant_mask_RW": { "archive_period": [ @@ -434,9 +434,9 @@ } }, "random_data": { - "LTS": { + "STAT": { "Random_Data": { - "LTS/random_data/1": { + "STAT/random_data/1": { "properties": { "polled_attr": [ "rnd1", @@ -488,7 +488,7 @@ ] } }, - "LTS/random_data/2": { + "STAT/random_data/2": { "properties": { "polled_attr": [ "rnd1", @@ -538,9 +538,9 @@ } }, "SDP": { - "LTS": { + "STAT": { "SDP": { - "LTS/SDP/1": { + "STAT/SDP/1": { "attribute_properties": { "SDP_mask_RW": { "event_period": [ @@ -720,9 +720,9 @@ } }, "SST": { - "LTS": { + "STAT": { "SST": { - "LTS/SST/1": { + "STAT/SST/1": { "properties": { "Statistics_Client_Port": [ "5001" @@ -742,9 +742,9 @@ } }, "UNB2": { - "LTS": { + "STAT": { "UNB2": { - "LTS/UNB2/1": { + "STAT/UNB2/1": { "properties": { "OPC_Server_Name": [ "despi.astron.nl" diff --git a/CDB/stations/DTS_ConfigDb.json b/CDB/stations/DTS_ConfigDb.json index 48f333e2b01a05a9b2ae700cedee61e5fb396579..c5bbf009334e47e2dd0eed89dbddea6889f83933 100644 --- a/CDB/stations/DTS_ConfigDb.json +++ b/CDB/stations/DTS_ConfigDb.json @@ -1,9 +1,9 @@ { "servers": { "APSCT": { - "LTS": { + "STAT": { "APSCT": { - "LTS/APSCT/1": { + "STAT/APSCT/1": { "properties": { "OPC_Server_Name": [ "DESPi3.nfra.nl" @@ -20,9 +20,9 @@ } }, "APSPU": { - "LTS": { + "STAT": { "APSPU": { - "LTS/APSPU/1": { + "STAT/APSPU/1": { "properties": { "OPC_Server_Name": [ "DESPi3.nfra.nl" @@ -39,9 +39,9 @@ } }, "RECV": { - "LTS": { + "STAT": { "RECV": { - "LTS/RECV/1": { + "STAT/RECV/1": { "properties": { "OPC_Server_Name": [ "DESPi3.nfra.nl" @@ -58,9 +58,9 @@ } }, "SDP": { - "LTS": { + "STAT": { "SDP": { - "LTS/SDP/1": { + "STAT/SDP/1": { "properties": { "OPC_Server_Name": [ "10.99.0.252" @@ -95,9 +95,9 @@ } }, "SST": { - "LTS": { + "STAT": { "SST": { - "LTS/SST/1": { + "STAT/SST/1": { "properties": { "OPC_Server_Name": [ "10.99.0.252" @@ -150,9 +150,9 @@ } }, "XST": { - "LTS": { + "STAT": { "XST": { - "LTS/XST/1": { + "STAT/XST/1": { "properties": { "OPC_Server_Name": [ "10.99.0.252" @@ -205,9 +205,9 @@ } }, "UNB2": { - "LTS": { + "STAT": { "UNB2": { - "LTS/UNB2/1": { + "STAT/UNB2/1": { "properties": { "OPC_Server_Name": [ "DESPi3.nfra.nl" diff --git a/CDB/stations/LTS_ConfigDb.json b/CDB/stations/LTS_ConfigDb.json index 6cacf3eb75ddd1ba85097b91b18eec66783834bd..7c03ff1434f5e88860d6d174ad7ce952750606b6 100644 --- a/CDB/stations/LTS_ConfigDb.json +++ b/CDB/stations/LTS_ConfigDb.json @@ -1,9 +1,9 @@ { "servers": { "RECV": { - "LTS": { + "STAT": { "RECV": { - "LTS/RECV/1": { + "STAT/RECV/1": { "properties": { "OPC_Server_Name": [ "ltspi.astron.nl" @@ -22,9 +22,9 @@ } }, "SDP": { - "LTS": { + "STAT": { "SDP": { - "LTS/SDP/1": { + "STAT/SDP/1": { "properties": { "OPC_Server_Name": [ "dop369.astron.nl" @@ -59,9 +59,9 @@ } }, "SST": { - "LTS": { + "STAT": { "SST": { - "LTS/SST/1": { + "STAT/SST/1": { "properties": { "Statistics_Client_UDP_Port": [ "5001" @@ -138,9 +138,9 @@ } }, "XST": { - "LTS": { + "STAT": { "XST": { - "LTS/XST/1": { + "STAT/XST/1": { "properties": { "Statistics_Client_UDP_Port": [ "5002" diff --git a/CDB/stations/simulators_ConfigDb.json b/CDB/stations/simulators_ConfigDb.json index 7d246bdd6cbc80b7f0cc3e21110265fdc4bbd81a..615976f006bbf571adbca93b75e3d172c30f68a4 100644 --- a/CDB/stations/simulators_ConfigDb.json +++ b/CDB/stations/simulators_ConfigDb.json @@ -1,9 +1,9 @@ { "servers": { "APSCT": { - "LTS": { + "STAT": { "APSCT": { - "LTS/APSCT/1": { + "STAT/APSCT/1": { "properties": { "OPC_Server_Name": [ "apsct-sim" @@ -20,9 +20,9 @@ } }, "APSPU": { - "LTS": { + "STAT": { "APSPU": { - "LTS/APSPU/1": { + "STAT/APSPU/1": { "properties": { "OPC_Server_Name": [ "apspu-sim" @@ -39,9 +39,9 @@ } }, "RECV": { - "LTS": { + "STAT": { "RECV": { - "LTS/RECV/1": { + "STAT/RECV/1": { "properties": { "OPC_Server_Name": [ "recv-sim" @@ -58,9 +58,9 @@ } }, "SDP": { - "LTS": { + "STAT": { "SDP": { - "LTS/SDP/1": { + "STAT/SDP/1": { "properties": { "OPC_Server_Name": [ "sdptr-sim" @@ -77,9 +77,9 @@ } }, "SST": { - "LTS": { + "STAT": { "SST": { - "LTS/SST/1": { + "STAT/SST/1": { "properties": { "OPC_Server_Name": [ "sdptr-sim" @@ -132,9 +132,9 @@ } }, "XST": { - "LTS": { + "STAT": { "XST": { - "LTS/XST/1": { + "STAT/XST/1": { "properties": { "OPC_Server_Name": [ "sdptr-sim" @@ -187,9 +187,9 @@ } }, "UNB2": { - "LTS": { + "STAT": { "UNB2": { - "LTS/UNB2/1": { + "STAT/UNB2/1": { "properties": { "OPC_Server_Name": [ "unb2-sim" diff --git a/CDB/test_ConfigDb.json b/CDB/test_ConfigDb.json index 7030e2d97166b244c3d3c682d4a975386510ecbc..7f7e69512d0e9475e5d640ba6033ce7819106101 100644 --- a/CDB/test_ConfigDb.json +++ b/CDB/test_ConfigDb.json @@ -3,7 +3,7 @@ "RECV": { "1": { "RECV": { - "LTS/RECV/1": { + "STAT/RECV/1": { "properties": { "OPC_Server_Name": [ "ltspi.astron.nl" @@ -16,7 +16,7 @@ "SDP": { "1": { "SDP": { - "LTS/SDP/1": { + "STAT/SDP/1": { "properties": { "OPC_Server_Name": [ "dop36.astron.nl" @@ -29,7 +29,7 @@ "APSCTL": { "1": { "APSCTL": { - "LTS/APSCTL/1": { + "STAT/APSCTL/1": { "properties": { "OPC_Server_Name": [ "ltspi.astron.nl" @@ -48,7 +48,7 @@ "test_device": { "1": { "test_device": { - "LTS/test_device/1": { + "STAT/test_device/1": { "attribute_properties": { "Ant_mask_RW": { "archive_period": [ diff --git a/CDB/thijs_ConfigDb.json b/CDB/thijs_ConfigDb.json index 5cd6813622bc642a8e2fd4ce1001158da3977dae..6361533704fa01dc373b6c35f608772e89e9bdbc 100644 --- a/CDB/thijs_ConfigDb.json +++ b/CDB/thijs_ConfigDb.json @@ -3,7 +3,7 @@ "RECV": { "1": { "RECV": { - "LTS/RECV/1": { + "STAT/RECV/1": { "properties": { "OPC_Server_Name": [ "host.docker.internal" @@ -16,7 +16,7 @@ "SDP": { "1": { "SDP": { - "LTS/SDP/1": { + "STAT/SDP/1": { "properties": { "OPC_Server_Name": [ "dop36.astron.nl" @@ -35,7 +35,7 @@ "example_device": { "1": { "example_device": { - "LTS/example_device/1": { + "STAT/example_device/1": { "properties": { "OPC_Server_Name": [ "host.docker.internal" @@ -54,7 +54,7 @@ "ini_device": { "1": { "ini_device": { - "LTS/ini_device/1": { + "STAT/ini_device/1": { "properties": { "OPC_Server_Name": [ "host.docker.internal" @@ -73,7 +73,7 @@ "APSCTL": { "1": { "APSCTL": { - "LTS/APSCTL/1": { + "STAT/APSCTL/1": { "properties": { "OPC_Server_Name": [ "ltspi.astron.nl" @@ -92,7 +92,7 @@ "SST": { "1": { "SST": { - "LTS/SST/1": { + "STAT/SST/1": { "properties": { "Statistics_Client_UDP_Port": [ "5001" @@ -117,7 +117,7 @@ "SNMP": { "1": { "SNMP": { - "LTS/SNMP/1": { + "STAT/SNMP/1": { "properties": { "SNMP_community": [ "public" diff --git a/CDB/thomas_ConfigDb.json b/CDB/thomas_ConfigDb.json deleted file mode 100644 index c1d50d969298798a95755fd340c9061f08762310..0000000000000000000000000000000000000000 --- a/CDB/thomas_ConfigDb.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "servers": { - "RECV": { - "LTS": { - "RECV": { - "LTS/RECV/1": { - "properties": { - "OPC_Server_Name": [ - "okeanos" - ] - } - } - } - } - }, - "SDP": { - "LTS": { - "SDP": { - "LTS/SDP/1": { - "properties": { - "OPC_Server_Name": [ - "okeanos" - ] - } - } - } - } - }, - "SST": { - "LTS": { - "SST": { - "LTS/SST/1": { - "properties": { - "OPC_Server_Name": [ - "okeanos" - ] - } - } - } - } - } - } -} diff --git a/CDB/thomas_arm64_ConfigDb.json b/CDB/thomas_arm64_ConfigDb.json deleted file mode 100644 index 0bf870680b8ff66ae6f46851b01870f4dd4f6ee8..0000000000000000000000000000000000000000 --- a/CDB/thomas_arm64_ConfigDb.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "servers": { - "RECV": { - "LTS": { - "RECV": { - "LTS/RECV/1": { - "properties": { - "OPC_Server_Name": [ - "arm2" - ] - } - } - } - } - }, - "SDP": { - "LTS": { - "SDP": { - "LTS/SDP/1": { - "properties": { - "OPC_Server_Name": [ - "okeanos" - ] - } - } - } - } - }, - "SST": { - "LTS": { - "SST": { - "LTS/SST/1": { - "properties": { - "OPC_Server_Name": [ - "okeanos" - ] - } - } - } - } - } - } -} diff --git a/CDB/windows_ConfigDb.json b/CDB/windows_ConfigDb.json index d00826eddf16687cc0329f68f8ae86b0543d7a82..ffc34ee01f505570da387bf6be81ec776f942f60 100644 --- a/CDB/windows_ConfigDb.json +++ b/CDB/windows_ConfigDb.json @@ -3,7 +3,7 @@ "RECV": { "1": { "RECV": { - "LTS/RECV/1": { + "STAT/RECV/1": { "properties": { "OPC_Server_Name": [ "host.docker.internal" @@ -16,7 +16,7 @@ "SDP": { "1": { "SDP": { - "LTS/SDP/1": { + "STAT/SDP/1": { "properties": { "OPC_Server_Name": [ "host.docker.internal" @@ -29,7 +29,7 @@ "ini_device": { "1": { "ini_device": { - "LTS/ini_device/1": { + "STAT/ini_device/1": { "attribute_properties": { "Ant_mask_RW": { "archive_period": [ @@ -55,7 +55,7 @@ "SNMP": { "1": { "SNMP": { - "LTS/SNMP/1": { + "STAT/SNMP/1": { "attribute_properties": { "Ant_mask_RW": { "archive_period": [ @@ -81,7 +81,7 @@ "test_device": { "1": { "test_device": { - "LTS/test_device/1": { + "STAT/test_device/1": { "attribute_properties": { "Ant_mask_RW": { "archive_period": [ diff --git a/docker-compose/device-apsct.yml b/docker-compose/device-apsct.yml index 36a21fb6c81bce72c0f708e5aca924eb0de9e14f..3d5a2e034de34f77d80b5a28305dc5617874f48f 100644 --- a/docker-compose/device-apsct.yml +++ b/docker-compose/device-apsct.yml @@ -40,5 +40,5 @@ services: - -- # 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 - - python3 -u /opt/lofar/tango/devices/devices/apsct.py LTS -v -ORBendPoint giop:tcp:0:5709 -ORBendPointPublish giop:tcp:${HOSTNAME}:5709 + - python3 -u /opt/lofar/tango/devices/devices/apsct.py STAT -v -ORBendPoint giop:tcp:0:5709 -ORBendPointPublish giop:tcp:${HOSTNAME}:5709 restart: on-failure diff --git a/docker-compose/device-apspu.yml b/docker-compose/device-apspu.yml index f1ea50c89d5194c6829fcf29446090edae33e686..04b89ac4a19efddf56c2b9a72ef05d05f54159db 100644 --- a/docker-compose/device-apspu.yml +++ b/docker-compose/device-apspu.yml @@ -40,5 +40,5 @@ services: - -- # 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 - - python3 -u /opt/lofar/tango/devices/devices/apspu.py LTS -v -ORBendPoint giop:tcp:0:5710 -ORBendPointPublish giop:tcp:${HOSTNAME}:5710 + - python3 -u /opt/lofar/tango/devices/devices/apspu.py STAT -v -ORBendPoint giop:tcp:0:5710 -ORBendPointPublish giop:tcp:${HOSTNAME}:5710 restart: on-failure diff --git a/docker-compose/device-boot.yml b/docker-compose/device-boot.yml index 131e5644399eeae7b0e043a7aca9829d45a9a167..9a4a13ff7494ec0e85af3581ba33a73477c86cf8 100644 --- a/docker-compose/device-boot.yml +++ b/docker-compose/device-boot.yml @@ -35,5 +35,5 @@ services: - 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-boot Boot LTS -v -ORBendPoint giop:tcp:0:5708 -ORBendPointPublish giop:tcp:${HOSTNAME}:5708 + - l2ss-boot Boot STAT -v -ORBendPoint giop:tcp:0:5708 -ORBendPointPublish giop:tcp:${HOSTNAME}:5708 restart: unless-stopped diff --git a/docker-compose/device-docker.yml b/docker-compose/device-docker.yml index 93e7cd8eaca8ea2ad6a024fa6fab7a1902b693c1..5a2641e9871f163f27ed7a60d872d30d4fe855e1 100644 --- a/docker-compose/device-docker.yml +++ b/docker-compose/device-docker.yml @@ -39,5 +39,5 @@ services: - 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-docker-device Docker LTS -v -ORBendPoint giop:tcp:0:5705 -ORBendPointPublish giop:tcp:${HOSTNAME}:5705 + - l2ss-docker-device Docker STAT -v -ORBendPoint giop:tcp:0:5705 -ORBendPointPublish giop:tcp:${HOSTNAME}:5705 restart: unless-stopped diff --git a/docker-compose/device-observation_control.yml b/docker-compose/device-observation_control.yml index d15fb8a8e708ce7e01e27a300348a5f47b09aa24..33fb0d066fd76b8eb4a9c7753266f16d04157726 100644 --- a/docker-compose/device-observation_control.yml +++ b/docker-compose/device-observation_control.yml @@ -36,5 +36,5 @@ services: - 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-observation-control ObservationControl LTS -v -ORBendPoint giop:tcp:0:5703 -ORBendPointPublish giop:tcp:${HOSTNAME}:5703 + - l2ss-observation-control ObservationControl STAT -v -ORBendPoint giop:tcp:0:5703 -ORBendPointPublish giop:tcp:${HOSTNAME}:5703 restart: unless-stopped diff --git a/docker-compose/device-recv.yml b/docker-compose/device-recv.yml index c1269ab89e34798b8766ced06d7df3394cbaf3b7..a08f566e7b39e095403f00cb5b086420b689d66b 100644 --- a/docker-compose/device-recv.yml +++ b/docker-compose/device-recv.yml @@ -37,5 +37,5 @@ services: - 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-receiver RECV LTS -v -ORBendPoint giop:tcp:0:5707 -ORBendPointPublish giop:tcp:${HOSTNAME}:5707 + - l2ss-receiver RECV STAT -v -ORBendPoint giop:tcp:0:5707 -ORBendPointPublish giop:tcp:${HOSTNAME}:5707 restart: unless-stopped diff --git a/docker-compose/device-sdp.yml b/docker-compose/device-sdp.yml index 0768d39cd4a75d4d92abd59f42cbb436ac4c2f48..f32c34394475c6a7483cb98cd03def1f62cf9ff0 100644 --- a/docker-compose/device-sdp.yml +++ b/docker-compose/device-sdp.yml @@ -37,5 +37,5 @@ services: - 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-sdp SDP LTS -v -ORBendPoint giop:tcp:0:5701 -ORBendPointPublish giop:tcp:${HOSTNAME}:5701 + - l2ss-sdp SDP STAT -v -ORBendPoint giop:tcp:0:5701 -ORBendPointPublish giop:tcp:${HOSTNAME}:5701 restart: unless-stopped diff --git a/docker-compose/device-sst.yml b/docker-compose/device-sst.yml index 3924b4bf18c1a221a8859a32a73f9ccccb4fdfc1..7464cb01f45e584ab705fe9098e0229a1b762295 100644 --- a/docker-compose/device-sst.yml +++ b/docker-compose/device-sst.yml @@ -40,5 +40,5 @@ services: - 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-sst SST LTS -v -ORBendPoint giop:tcp:0:5702 -ORBendPointPublish giop:tcp:${HOSTNAME}:5702 + - l2ss-sst SST STAT -v -ORBendPoint giop:tcp:0:5702 -ORBendPointPublish giop:tcp:${HOSTNAME}:5702 restart: unless-stopped diff --git a/docker-compose/device-unb2.yml b/docker-compose/device-unb2.yml index 9e9f8797ce62f57c3fd3434dd41c36412df2150f..af1329d21a905f3c150c092529978e17f0c0ee37 100644 --- a/docker-compose/device-unb2.yml +++ b/docker-compose/device-unb2.yml @@ -37,5 +37,5 @@ services: - 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-unb2 UNB2 LTS -v -ORBendPoint giop:tcp:0:5704 -ORBendPointPublish giop:tcp:${HOSTNAME}:5704 + - l2ss-unb2 UNB2 STAT -v -ORBendPoint giop:tcp:0:5704 -ORBendPointPublish giop:tcp:${HOSTNAME}:5704 restart: unless-stopped diff --git a/docker-compose/device-xst.yml b/docker-compose/device-xst.yml index 6d7a1036dfa965750bcf7212ae865a1b71e3de3a..c4ea684fd94e34fcaaa857a5717ca47745eccc72 100644 --- a/docker-compose/device-xst.yml +++ b/docker-compose/device-xst.yml @@ -40,5 +40,5 @@ services: - 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-xst XST LTS -v -ORBendPoint giop:tcp:0:5706 -ORBendPointPublish giop:tcp:${HOSTNAME}:5706 + - l2ss-xst XST STAT -v -ORBendPoint giop:tcp:0:5706 -ORBendPointPublish giop:tcp:${HOSTNAME}:5706 restart: unless-stopped diff --git a/docker-compose/grafana/dashboards/docker.json b/docker-compose/grafana/dashboards/docker.json index 0d486f65e35a9a1c4a5ca024d6a89b0a46991ff2..cc6680ee533d24c9a40a5df2e8020845e32575db 100644 --- a/docker-compose/grafana/dashboards/docker.json +++ b/docker-compose/grafana/dashboards/docker.json @@ -78,7 +78,7 @@ "targets": [ { "exemplar": true, - "expr": "device_attribute{device=\"lts/docker/1\",name=~\".*_R\",name!=\"version_R\"}", + "expr": "device_attribute{device=\"stat/docker/1\",name=~\".*_R\",name!=\"version_R\"}", "instant": false, "interval": "", "legendFormat": "{{name}}", diff --git a/docker-compose/grafana/dashboards/home.json b/docker-compose/grafana/dashboards/home.json index f1b7a626e2ca470f513d22cadf240345cacf2f25..4ef59179fa14153bf814975ed74d55c2c92c2d10 100644 --- a/docker-compose/grafana/dashboards/home.json +++ b/docker-compose/grafana/dashboards/home.json @@ -96,7 +96,7 @@ "targets": [ { "exemplar": true, - "expr": "device_attribute{device=\"lts/boot/1\",name=\"initialisation_progress_R\"}", + "expr": "device_attribute{device=\"stat/boot/1\",name=\"initialisation_progress_R\"}", "interval": "", "legendFormat": "", "refId": "A" @@ -191,7 +191,7 @@ "targets": [ { "exemplar": true, - "expr": "device_attribute{label=\"State\",device=~\"lts/.*/1\"}", + "expr": "device_attribute{label=\"State\",device=~\"stat/.*/1\"}", "instant": false, "interval": "", "legendFormat": "{{device}}", @@ -425,7 +425,7 @@ "targets": [ { "exemplar": true, - "expr": "device_attribute{device=\"lts/boot/1\",name=\"initialisation_status_R\"}", + "expr": "device_attribute{device=\"stat/boot/1\",name=\"initialisation_status_R\"}", "instant": true, "interval": "", "legendFormat": "", @@ -449,7 +449,7 @@ "Time": true, "Value": true, "device": true, - "device_attribute{device=\"lts/boot/1\", dim_x=\"1\", dim_y=\"0\", instance=\"tango-prometheus-exporter:8000\", job=\"tango\", label=\"initialisation_status_R\", name=\"initialisation_status_R\", str_value=\"Initialisation completed\", type=\"string\", x=\"0\", y=\"0\"}": true, + "device_attribute{device=\"stat/boot/1\", dim_x=\"1\", dim_y=\"0\", instance=\"tango-prometheus-exporter:8000\", job=\"tango\", label=\"initialisation_status_R\", name=\"initialisation_status_R\", str_value=\"Initialisation completed\", type=\"string\", x=\"0\", y=\"0\"}": true, "dim_x": true, "dim_y": true, "instance": true, @@ -739,14 +739,14 @@ "targets": [ { "exemplar": true, - "expr": "1-device_attribute{device=\"lts/apsct/1\",name=\"APSCT_PWR_on_R\"}", + "expr": "1-device_attribute{device=\"stat/apsct/1\",name=\"APSCT_PWR_on_R\"}", "interval": "", "legendFormat": "Power", "refId": "A" }, { "exemplar": true, - "expr": "device_attribute{device=\"lts/apsct/1\",name=\"APSCTTR_I2C_error_R\"}", + "expr": "device_attribute{device=\"stat/apsct/1\",name=\"APSCTTR_I2C_error_R\"}", "hide": false, "interval": "", "legendFormat": "I2C", @@ -754,7 +754,7 @@ }, { "exemplar": true, - "expr": "device_attribute{device=\"lts/apsct/1\",name=\"APSCT_PLL_200MHz_error_R\"}", + "expr": "device_attribute{device=\"stat/apsct/1\",name=\"APSCT_PLL_200MHz_error_R\"}", "hide": false, "interval": "", "legendFormat": "PLL", @@ -762,7 +762,7 @@ }, { "exemplar": true, - "expr": "1-device_attribute{device=\"lts/apsct/1\",name=\"APSCT_PLL_200MHz_locked_R\"}", + "expr": "1-device_attribute{device=\"stat/apsct/1\",name=\"APSCT_PLL_200MHz_locked_R\"}", "hide": false, "interval": "", "legendFormat": "PLL Lock", @@ -770,7 +770,7 @@ }, { "exemplar": true, - "expr": "1-device_attribute{device=\"lts/apsct/1\",name=\"APSCT_INPUT_10MHz_good_R\"}", + "expr": "1-device_attribute{device=\"stat/apsct/1\",name=\"APSCT_INPUT_10MHz_good_R\"}", "hide": false, "interval": "", "legendFormat": "10MHz", @@ -778,7 +778,7 @@ }, { "exemplar": true, - "expr": "1-device_attribute{device=\"lts/apsct/1\",name=\"APSCT_INPUT_PPS_good_R\"}", + "expr": "1-device_attribute{device=\"stat/apsct/1\",name=\"APSCT_INPUT_PPS_good_R\"}", "hide": false, "interval": "", "legendFormat": "PPS", @@ -786,7 +786,7 @@ }, { "exemplar": true, - "expr": "device_attribute{device=\"lts/apsct/1\",name=\"APSCT_PPS_ignore_R\"}", + "expr": "device_attribute{device=\"stat/apsct/1\",name=\"APSCT_PPS_ignore_R\"}", "hide": false, "interval": "", "legendFormat": "PPS used", @@ -847,7 +847,7 @@ "targets": [ { "exemplar": true, - "expr": "device_attribute{device=\"lts/apspu/1\",name=\"APSPUTR_I2C_error_R\"}", + "expr": "device_attribute{device=\"stat/apspu/1\",name=\"APSPUTR_I2C_error_R\"}", "hide": false, "interval": "", "legendFormat": "I2C", @@ -926,7 +926,7 @@ "targets": [ { "exemplar": true, - "expr": "(1 + (device_attribute{device=\"lts/unb2/1\",name=\"UNB2TR_I2C_bus_error_R\"} != bool 0)) * on(x) device_attribute{device=\"lts/recv/1\",name=\"RCU_mask_RW\"}", + "expr": "(1 + (device_attribute{device=\"stat/unb2/1\",name=\"UNB2TR_I2C_bus_error_R\"} != bool 0)) * on(x) device_attribute{device=\"stat/recv/1\",name=\"RCU_mask_RW\"}", "hide": false, "interval": "", "legendFormat": "I2C {{x}}", @@ -934,7 +934,7 @@ }, { "exemplar": true, - "expr": "(1 + device_attribute{device=\"lts/unb2/1\",name=\"UNB2TR_I2C_bus_PS_error_R\"}) * on(x) device_attribute{device=\"lts/recv/1\",name=\"RCU_mask_RW\"}", + "expr": "(1 + device_attribute{device=\"stat/unb2/1\",name=\"UNB2TR_I2C_bus_PS_error_R\"}) * on(x) device_attribute{device=\"stat/recv/1\",name=\"RCU_mask_RW\"}", "hide": false, "interval": "", "legendFormat": "PS {{x}}", @@ -942,7 +942,7 @@ }, { "exemplar": true, - "expr": "(1 + sum by (x) (device_attribute{device=\"lts/unb2/1\",name=\"UNB2TR_I2C_bus_FPGA_PS_error_R\"})) * on(x) device_attribute{device=\"lts/recv/1\",name=\"RCU_mask_RW\"}", + "expr": "(1 + sum by (x) (device_attribute{device=\"stat/unb2/1\",name=\"UNB2TR_I2C_bus_FPGA_PS_error_R\"})) * on(x) device_attribute{device=\"stat/recv/1\",name=\"RCU_mask_RW\"}", "hide": false, "interval": "", "legendFormat": "FPGA PS {{x}}", @@ -950,7 +950,7 @@ }, { "exemplar": true, - "expr": "(1 + sum by (x) (device_attribute{device=\"lts/unb2/1\",name=\"UNB2TR_I2C_bus_DDR4_error_R\"})) * on(x) device_attribute{device=\"lts/recv/1\",name=\"RCU_mask_RW\"}", + "expr": "(1 + sum by (x) (device_attribute{device=\"stat/unb2/1\",name=\"UNB2TR_I2C_bus_DDR4_error_R\"})) * on(x) device_attribute{device=\"stat/recv/1\",name=\"RCU_mask_RW\"}", "hide": false, "interval": "", "legendFormat": "DDR {{x}}", @@ -958,7 +958,7 @@ }, { "exemplar": true, - "expr": "(1 + sum by (x) (device_attribute{device=\"lts/unb2/1\",name=\"UNB2TR_I2C_bus_QSFP_error_R\"})) * on(x) device_attribute{device=\"lts/recv/1\",name=\"RCU_mask_RW\"}", + "expr": "(1 + sum by (x) (device_attribute{device=\"stat/unb2/1\",name=\"UNB2TR_I2C_bus_QSFP_error_R\"})) * on(x) device_attribute{device=\"stat/recv/1\",name=\"RCU_mask_RW\"}", "hide": false, "interval": "", "legendFormat": "QSFP {{x}}", @@ -1036,7 +1036,7 @@ "targets": [ { "exemplar": true, - "expr": "sum by (x)(1 + (device_attribute{device=\"lts/recv/1\",name=\"RCU_ADC_locked_R\"})) * on(x) device_attribute{device=\"lts/recv/1\",name=\"RCU_mask_RW\"} - 3", + "expr": "sum by (x)(1 + (device_attribute{device=\"stat/recv/1\",name=\"RCU_ADC_locked_R\"})) * on(x) device_attribute{device=\"stat/recv/1\",name=\"RCU_mask_RW\"} - 3", "instant": false, "interval": "", "legendFormat": "{{y}}", @@ -1100,7 +1100,7 @@ "targets": [ { "exemplar": true, - "expr": "(1 + (device_attribute{device=\"lts/recv/1\",name=\"RECVTR_I2C_error_R\"} == bool 0)) * on(x) device_attribute{device=\"lts/recv/1\",name=\"RCU_mask_RW\"}", + "expr": "(1 + (device_attribute{device=\"stat/recv/1\",name=\"RECVTR_I2C_error_R\"} == bool 0)) * on(x) device_attribute{device=\"stat/recv/1\",name=\"RCU_mask_RW\"}", "hide": false, "instant": false, "interval": "", @@ -1166,7 +1166,7 @@ "targets": [ { "exemplar": true, - "expr": "(1 + device_attribute{device=\"lts/recv/1\",name=\"RCU_PWR_good_R\"}) * on(x) device_attribute{device=\"lts/recv/1\",name=\"RCU_mask_RW\"}", + "expr": "(1 + device_attribute{device=\"stat/recv/1\",name=\"RCU_PWR_good_R\"}) * on(x) device_attribute{device=\"stat/recv/1\",name=\"RCU_mask_RW\"}", "hide": false, "instant": false, "interval": "", @@ -1246,7 +1246,7 @@ "targets": [ { "exemplar": true, - "expr": "(50+50*device_attribute{device=\"lts/sdp/1\",name=\"TR_fpga_communication_error_R\"}) * on(x) device_attribute{device=\"lts/sdp/1\",name=\"TR_fpga_mask_R\"}", + "expr": "(50+50*device_attribute{device=\"stat/sdp/1\",name=\"TR_fpga_communication_error_R\"}) * on(x) device_attribute{device=\"stat/sdp/1\",name=\"TR_fpga_mask_R\"}", "format": "time_series", "hide": false, "instant": false, @@ -1314,7 +1314,7 @@ "targets": [ { "exemplar": true, - "expr": "(100-50*device_attribute{device=\"lts/sdp/1\",name=\"FPGA_processing_enable_R\"}) * on(x) device_attribute{device=\"lts/sdp/1\",name=\"TR_fpga_mask_R\"}", + "expr": "(100-50*device_attribute{device=\"stat/sdp/1\",name=\"FPGA_processing_enable_R\"}) * on(x) device_attribute{device=\"stat/sdp/1\",name=\"TR_fpga_mask_R\"}", "format": "time_series", "hide": false, "instant": false, @@ -1388,7 +1388,7 @@ "targets": [ { "exemplar": true, - "expr": "sum(sum by(x) (device_attribute{device=\"lts/sdp/1\",name=\"FPGA_wg_enable_RW\"}) * on(x) device_attribute{device=\"lts/sdp/1\",name=\"TR_fpga_mask_R\"})", + "expr": "sum(sum by(x) (device_attribute{device=\"stat/sdp/1\",name=\"FPGA_wg_enable_RW\"}) * on(x) device_attribute{device=\"stat/sdp/1\",name=\"TR_fpga_mask_R\"})", "format": "time_series", "hide": false, "instant": false, @@ -1470,7 +1470,7 @@ "targets": [ { "exemplar": true, - "expr": "(100-50*device_attribute{device=\"lts/sst/1\",name=\"FPGA_sst_offload_enable_R\"}) * on(x) device_attribute{device=\"lts/sdp/1\",name=\"TR_fpga_mask_R\"}", + "expr": "(100-50*device_attribute{device=\"stat/sst/1\",name=\"FPGA_sst_offload_enable_R\"}) * on(x) device_attribute{device=\"stat/sdp/1\",name=\"TR_fpga_mask_R\"}", "format": "time_series", "hide": false, "instant": false, @@ -1563,7 +1563,7 @@ "targets": [ { "exemplar": true, - "expr": "rate(device_attribute{device=\"lts/sst/1\",name=\"nof_invalid_packets_R\"}[1m])", + "expr": "rate(device_attribute{device=\"stat/sst/1\",name=\"nof_invalid_packets_R\"}[1m])", "format": "time_series", "hide": false, "instant": false, @@ -1573,7 +1573,7 @@ }, { "exemplar": true, - "expr": "rate(device_attribute{device=\"lts/sst/1\",name=\"nof_packets_dropped_R\"}[1m])", + "expr": "rate(device_attribute{device=\"stat/sst/1\",name=\"nof_packets_dropped_R\"}[1m])", "hide": false, "interval": "", "legendFormat": "dropped", @@ -1581,7 +1581,7 @@ }, { "exemplar": true, - "expr": "rate(device_attribute{device=\"lts/sst/1\",name=\"nof_payload_errors_R\"}[1m])", + "expr": "rate(device_attribute{device=\"stat/sst/1\",name=\"nof_payload_errors_R\"}[1m])", "hide": false, "interval": "", "legendFormat": "payload errors {{x}}", @@ -1672,7 +1672,7 @@ "targets": [ { "exemplar": true, - "expr": "sum(rate(device_attribute{device=\"lts/sst/1\",name=\"nof_bytes_received_R\"}[1m]))", + "expr": "sum(rate(device_attribute{device=\"stat/sst/1\",name=\"nof_bytes_received_R\"}[1m]))", "format": "time_series", "hide": false, "instant": false, @@ -1765,7 +1765,7 @@ "targets": [ { "exemplar": true, - "expr": "rate(device_attribute{device=\"lts/sst/1\",name=\"replicator_nof_bytes_sent_R\"}[1m])", + "expr": "rate(device_attribute{device=\"stat/sst/1\",name=\"replicator_nof_bytes_sent_R\"}[1m])", "format": "time_series", "hide": false, "instant": false, @@ -1860,7 +1860,7 @@ "targets": [ { "exemplar": true, - "expr": "device_attribute{device=\"lts/sst/1\",name=\"replicator_nof_tasks_pending_R\"}", + "expr": "device_attribute{device=\"stat/sst/1\",name=\"replicator_nof_tasks_pending_R\"}", "format": "time_series", "hide": false, "instant": false, @@ -1942,7 +1942,7 @@ "targets": [ { "exemplar": true, - "expr": "(100-50*device_attribute{device=\"lts/xst/1\",name=\"FPGA_xst_offload_enable_R\"}) * on(x) device_attribute{device=\"lts/sdp/1\",name=\"TR_fpga_mask_R\"}", + "expr": "(100-50*device_attribute{device=\"stat/xst/1\",name=\"FPGA_xst_offload_enable_R\"}) * on(x) device_attribute{device=\"stat/sdp/1\",name=\"TR_fpga_mask_R\"}", "format": "time_series", "hide": false, "instant": false, @@ -2035,7 +2035,7 @@ "targets": [ { "exemplar": true, - "expr": "rate(device_attribute{device=\"lts/xst/1\",name=\"nof_invalid_packets_R\"}[1m])", + "expr": "rate(device_attribute{device=\"stat/xst/1\",name=\"nof_invalid_packets_R\"}[1m])", "format": "time_series", "hide": false, "instant": false, @@ -2045,7 +2045,7 @@ }, { "exemplar": true, - "expr": "rate(device_attribute{device=\"lts/xst/1\",name=\"nof_packets_dropped_R\"}[1m])", + "expr": "rate(device_attribute{device=\"stat/xst/1\",name=\"nof_packets_dropped_R\"}[1m])", "hide": false, "interval": "", "legendFormat": "dropped", @@ -2053,7 +2053,7 @@ }, { "exemplar": true, - "expr": "rate(device_attribute{device=\"lts/xst/1\",name=\"nof_payload_errors_R\"}[1m])", + "expr": "rate(device_attribute{device=\"stat/xst/1\",name=\"nof_payload_errors_R\"}[1m])", "hide": false, "interval": "", "legendFormat": "payload errors {{x}}", @@ -2144,7 +2144,7 @@ "targets": [ { "exemplar": true, - "expr": "sum(rate(device_attribute{device=\"lts/xst/1\",name=\"nof_bytes_received_R\"}[1m]))", + "expr": "sum(rate(device_attribute{device=\"stat/xst/1\",name=\"nof_bytes_received_R\"}[1m]))", "format": "time_series", "hide": false, "instant": false, @@ -2237,7 +2237,7 @@ "targets": [ { "exemplar": true, - "expr": "rate(device_attribute{device=\"lts/xst/1\",name=\"replicator_nof_bytes_sent_R\"}[1m])", + "expr": "rate(device_attribute{device=\"stat/xst/1\",name=\"replicator_nof_bytes_sent_R\"}[1m])", "format": "time_series", "hide": false, "instant": false, @@ -2332,7 +2332,7 @@ "targets": [ { "exemplar": true, - "expr": "device_attribute{device=\"lts/xst/1\",name=\"replicator_nof_tasks_pending_R\"}", + "expr": "device_attribute{device=\"stat/xst/1\",name=\"replicator_nof_tasks_pending_R\"}", "format": "time_series", "hide": false, "instant": false, @@ -2400,7 +2400,7 @@ "targets": [ { "exemplar": true, - "expr": "(100-50*device_attribute{device=\"lts/xst/1\",name=\"FPGA_xst_processing_enable_R\"}) * on(x) device_attribute{device=\"lts/sdp/1\",name=\"TR_fpga_mask_R\"}", + "expr": "(100-50*device_attribute{device=\"stat/xst/1\",name=\"FPGA_xst_processing_enable_R\"}) * on(x) device_attribute{device=\"stat/sdp/1\",name=\"TR_fpga_mask_R\"}", "format": "time_series", "hide": false, "instant": false, diff --git a/docker-compose/grafana/dashboards/sensors.json b/docker-compose/grafana/dashboards/sensors.json index 43c85da09acc89c8ef487d60e8f46a5bd8605d3c..cbb6e6d0dab36965e0d744fd35ea1392de0c33d3 100644 --- a/docker-compose/grafana/dashboards/sensors.json +++ b/docker-compose/grafana/dashboards/sensors.json @@ -112,7 +112,7 @@ "targets": [ { "exemplar": true, - "expr": "device_attribute{device=\"lts/sdp/1\",name=\"FPGA_temp_R\"} != 0", + "expr": "device_attribute{device=\"stat/sdp/1\",name=\"FPGA_temp_R\"} != 0", "format": "time_series", "hide": false, "instant": false, @@ -200,14 +200,14 @@ "targets": [ { "exemplar": true, - "expr": "device_attribute{device=\"lts/unb2/1\",name=\"UNB2_FPGA_POL_CORE_TEMP_R\"} ", + "expr": "device_attribute{device=\"stat/unb2/1\",name=\"UNB2_FPGA_POL_CORE_TEMP_R\"} ", "interval": "", "legendFormat": "Core board {{x}} node {{y}}", "refId": "A" }, { "exemplar": true, - "expr": "device_attribute{device=\"lts/unb2/1\",name=\"UNB2_FPGA_POL_ERAM_TEMP_R\"} ", + "expr": "device_attribute{device=\"stat/unb2/1\",name=\"UNB2_FPGA_POL_ERAM_TEMP_R\"} ", "hide": false, "interval": "", "legendFormat": "ERAM board {{x}} node {{y}}", @@ -215,7 +215,7 @@ }, { "exemplar": true, - "expr": "device_attribute{device=\"lts/unb2/1\",name=\"UNB2_FPGA_POL_RXGXB_TEMP_R\"} ", + "expr": "device_attribute{device=\"stat/unb2/1\",name=\"UNB2_FPGA_POL_RXGXB_TEMP_R\"} ", "hide": false, "interval": "", "legendFormat": "TrRx board {{x}} node {{y}}", @@ -223,7 +223,7 @@ }, { "exemplar": true, - "expr": "device_attribute{device=\"lts/unb2/1\",name=\"UNB2_FPGA_POL_TXGB_TEMP_R\"} ", + "expr": "device_attribute{device=\"stat/unb2/1\",name=\"UNB2_FPGA_POL_TXGB_TEMP_R\"} ", "hide": false, "interval": "", "legendFormat": "TrHx board {{x}} node {{y}}", @@ -231,7 +231,7 @@ }, { "exemplar": true, - "expr": "device_attribute{device=\"lts/unb2/1\",name=\"UNB2_FPGA_POL_PGM_TEMP_R\"} ", + "expr": "device_attribute{device=\"stat/unb2/1\",name=\"UNB2_FPGA_POL_PGM_TEMP_R\"} ", "hide": false, "interval": "", "legendFormat": "IO board {{x}} node {{y}}", @@ -239,7 +239,7 @@ }, { "exemplar": true, - "expr": "device_attribute{device=\"lts/unb2/1\",name=\"UNB2_FPGA_POL_HGXB_TEMP_R\"} ", + "expr": "device_attribute{device=\"stat/unb2/1\",name=\"UNB2_FPGA_POL_HGXB_TEMP_R\"} ", "hide": false, "interval": "", "legendFormat": "HGXB board {{x}} node {{y}}", @@ -325,7 +325,7 @@ "targets": [ { "exemplar": true, - "expr": "device_attribute{device=\"lts/unb2/1\",name=\"UNB2_FPGA_QSFP_CAGE_TEMP_R\"}", + "expr": "device_attribute{device=\"stat/unb2/1\",name=\"UNB2_FPGA_QSFP_CAGE_TEMP_R\"}", "interval": "", "legendFormat": "FPGA QSFP Cage {{x}}, {{y}} ", "refId": "A" @@ -409,7 +409,7 @@ "targets": [ { "exemplar": true, - "expr": "device_attribute{device=\"lts/unb2/1\",name=\"UNB2_FPGA_DDR4_SLOT_TEMP_R\"}", + "expr": "device_attribute{device=\"stat/unb2/1\",name=\"UNB2_FPGA_DDR4_SLOT_TEMP_R\"}", "interval": "", "legendFormat": "FPGA QSFP Cage {{x}}, {{y}} ", "refId": "A" @@ -493,7 +493,7 @@ "targets": [ { "exemplar": true, - "expr": "device_attribute{device=\"lts/recv/1\",name=\"RCU_TEMP_R\"}", + "expr": "device_attribute{device=\"stat/recv/1\",name=\"RCU_TEMP_R\"}", "format": "time_series", "hide": false, "instant": false, @@ -581,14 +581,14 @@ "targets": [ { "exemplar": true, - "expr": "device_attribute{device=\"lts/apsct/1\",name=~\"APSCT_TEMP_R\"}", + "expr": "device_attribute{device=\"stat/apsct/1\",name=~\"APSCT_TEMP_R\"}", "interval": "", "legendFormat": "{{name}}", "refId": "A" }, { "exemplar": true, - "expr": "device_attribute{device=\"lts/apspu/1\",name=~\"APSPU_.*_TEMP_R\"}", + "expr": "device_attribute{device=\"stat/apspu/1\",name=~\"APSPU_.*_TEMP_R\"}", "hide": false, "interval": "", "legendFormat": "{{name}}", @@ -673,14 +673,14 @@ "targets": [ { "exemplar": true, - "expr": "device_attribute{device=\"lts/unb2/1\",name=\"UNB2_POL_QSFP_N01_TEMP_R\"} ", + "expr": "device_attribute{device=\"stat/unb2/1\",name=\"UNB2_POL_QSFP_N01_TEMP_R\"} ", "interval": "", "legendFormat": "QSFP N01 board {{x}}", "refId": "A" }, { "exemplar": true, - "expr": "device_attribute{device=\"lts/unb2/1\",name=\"UNB2_POL_QSFP_N23_TEMP_R\"} ", + "expr": "device_attribute{device=\"stat/unb2/1\",name=\"UNB2_POL_QSFP_N23_TEMP_R\"} ", "hide": false, "interval": "", "legendFormat": "QSFP N23 board {{x}}", @@ -688,7 +688,7 @@ }, { "exemplar": true, - "expr": "device_attribute{device=\"lts/unb2/1\",name=\"UNB2_POL_SWITCH_1V2_TEMP_R\"} ", + "expr": "device_attribute{device=\"stat/unb2/1\",name=\"UNB2_POL_SWITCH_1V2_TEMP_R\"} ", "hide": false, "interval": "", "legendFormat": "Switch 1v2 board {{x}}", @@ -696,7 +696,7 @@ }, { "exemplar": true, - "expr": "device_attribute{device=\"lts/unb2/1\",name=\"UNB2_POL_SWITCH_PHY_TEMP_R\"} ", + "expr": "device_attribute{device=\"stat/unb2/1\",name=\"UNB2_POL_SWITCH_PHY_TEMP_R\"} ", "hide": false, "interval": "", "legendFormat": "Switch PHY board {{x}}", @@ -704,7 +704,7 @@ }, { "exemplar": true, - "expr": "device_attribute{device=\"lts/unb2/1\",name=\"UNB2_POL_CLOCK_TEMP_R\"} ", + "expr": "device_attribute{device=\"stat/unb2/1\",name=\"UNB2_POL_CLOCK_TEMP_R\"} ", "hide": false, "interval": "", "legendFormat": "Clock PWR board {{x}}", @@ -712,7 +712,7 @@ }, { "exemplar": true, - "expr": "device_attribute{device=\"lts/unb2/1\",name=\"UNB2_DC_DC_48V_12V_TEMP_R\"} ", + "expr": "device_attribute{device=\"stat/unb2/1\",name=\"UNB2_DC_DC_48V_12V_TEMP_R\"} ", "hide": false, "interval": "", "legendFormat": "DC-DC board {{x}}", @@ -813,7 +813,7 @@ "targets": [ { "exemplar": true, - "expr": "device_attribute{device=\"lts/apspu/1\",name=~\"APSPU_.*_VOUT_R\"}", + "expr": "device_attribute{device=\"stat/apspu/1\",name=~\"APSPU_.*_VOUT_R\"}", "interval": "", "legendFormat": "{{name}} {{x}} ", "refId": "A" @@ -898,14 +898,14 @@ "targets": [ { "exemplar": true, - "expr": "device_attribute{device=\"lts/unb2/1\",name=\"UNB2_FPGA_POL_CORE_VOUT_R\"}", + "expr": "device_attribute{device=\"stat/unb2/1\",name=\"UNB2_FPGA_POL_CORE_VOUT_R\"}", "interval": "", "legendFormat": "Core board {{x}} node {{y}}", "refId": "A" }, { "exemplar": true, - "expr": "device_attribute{device=\"lts/unb2/1\",name=\"UNB2_FPGA_POL_ERAM_VOUT_R\"}", + "expr": "device_attribute{device=\"stat/unb2/1\",name=\"UNB2_FPGA_POL_ERAM_VOUT_R\"}", "hide": false, "interval": "", "legendFormat": "ERAM board {{x}} node {{y}}", @@ -913,7 +913,7 @@ }, { "exemplar": true, - "expr": "device_attribute{device=\"lts/unb2/1\",name=\"UNB2_FPGA_POL_RXGXB_VOUT_R\"}", + "expr": "device_attribute{device=\"stat/unb2/1\",name=\"UNB2_FPGA_POL_RXGXB_VOUT_R\"}", "hide": false, "interval": "", "legendFormat": "TrRx board {{x}} node {{y}}", @@ -921,7 +921,7 @@ }, { "exemplar": true, - "expr": "device_attribute{device=\"lts/unb2/1\",name=\"UNB2_FPGA_POL_TXGB_VOUT_R\"}", + "expr": "device_attribute{device=\"stat/unb2/1\",name=\"UNB2_FPGA_POL_TXGB_VOUT_R\"}", "hide": false, "interval": "", "legendFormat": "TrHx board {{x}} node {{y}}", @@ -929,7 +929,7 @@ }, { "exemplar": true, - "expr": "device_attribute{device=\"lts/unb2/1\",name=\"UNB2_FPGA_POL_PGM_VOUT_R\"}", + "expr": "device_attribute{device=\"stat/unb2/1\",name=\"UNB2_FPGA_POL_PGM_VOUT_R\"}", "hide": false, "interval": "", "legendFormat": "IO board {{x}} node {{y}}", @@ -1015,14 +1015,14 @@ "targets": [ { "exemplar": true, - "expr": "device_attribute{device=\"lts/unb2/1\",name=\"UNB2_POL_QSFP_N01_VOUT_R\"}", + "expr": "device_attribute{device=\"stat/unb2/1\",name=\"UNB2_POL_QSFP_N01_VOUT_R\"}", "interval": "", "legendFormat": "QSFP N01 board {{x}} ", "refId": "A" }, { "exemplar": true, - "expr": "device_attribute{device=\"lts/unb2/1\",name=\"UNB2_POL_QSFP_N23_VOUT_R\"}", + "expr": "device_attribute{device=\"stat/unb2/1\",name=\"UNB2_POL_QSFP_N23_VOUT_R\"}", "hide": false, "interval": "", "legendFormat": "QSFP N23 board {{x}}", @@ -1030,7 +1030,7 @@ }, { "exemplar": true, - "expr": "device_attribute{device=\"lts/unb2/1\",name=\"UNB2_POL_SWITCH_1V2_VOUT_R\"}", + "expr": "device_attribute{device=\"stat/unb2/1\",name=\"UNB2_POL_SWITCH_1V2_VOUT_R\"}", "hide": false, "interval": "", "legendFormat": "Switch 1v2 board {{x}}", @@ -1038,7 +1038,7 @@ }, { "exemplar": true, - "expr": "device_attribute{device=\"lts/unb2/1\",name=\"UNB2_POL_SWITCH_PHY_VOUT_R\"}", + "expr": "device_attribute{device=\"stat/unb2/1\",name=\"UNB2_POL_SWITCH_PHY_VOUT_R\"}", "hide": false, "interval": "", "legendFormat": "Switch PHY board {{x}}", @@ -1046,7 +1046,7 @@ }, { "exemplar": true, - "expr": "device_attribute{device=\"lts/unb2/1\",name=\"UNB2_POL_CLOCK_VOUT_R\"}", + "expr": "device_attribute{device=\"stat/unb2/1\",name=\"UNB2_POL_CLOCK_VOUT_R\"}", "hide": false, "interval": "", "legendFormat": "Clock PWR board {{x}}", @@ -1054,7 +1054,7 @@ }, { "exemplar": true, - "expr": "device_attribute{device=\"lts/unb2/1\",name=\"UNB2_DC_DC_48V_12V_VOUT_R\"}", + "expr": "device_attribute{device=\"stat/unb2/1\",name=\"UNB2_DC_DC_48V_12V_VOUT_R\"}", "hide": false, "interval": "", "legendFormat": "DC-DC board {{x}}", @@ -1158,7 +1158,7 @@ "targets": [ { "exemplar": true, - "expr": "device_attribute{device=\"lts/sdp/1\",name=\"TR_tod_pps_delta_R\"}", + "expr": "device_attribute{device=\"stat/sdp/1\",name=\"TR_tod_pps_delta_R\"}", "format": "time_series", "hide": false, "instant": false, diff --git a/docker-compose/grafana/dashboards/version-information.json b/docker-compose/grafana/dashboards/version-information.json index 8b5e17bebd870d923d8944293a2bc66bddf79544..abd1f076841d0e4fd86dbd568226356f8270b697 100644 --- a/docker-compose/grafana/dashboards/version-information.json +++ b/docker-compose/grafana/dashboards/version-information.json @@ -229,7 +229,7 @@ "targets": [ { "exemplar": true, - "expr": "device_attribute{device=\"lts/sdp/1\",name=\"FPGA_firmware_version_R\"}", + "expr": "device_attribute{device=\"stat/sdp/1\",name=\"FPGA_firmware_version_R\"}", "instant": true, "interval": "", "legendFormat": "", @@ -364,7 +364,7 @@ "targets": [ { "exemplar": true, - "expr": "device_attribute{device=\"lts/sdp/1\",name=\"FPGA_hardware_version_R\"}", + "expr": "device_attribute{device=\"stat/sdp/1\",name=\"FPGA_hardware_version_R\"}", "instant": true, "interval": "", "legendFormat": "", @@ -487,7 +487,7 @@ "targets": [ { "exemplar": true, - "expr": "count(device_attribute{device=\"lts/sdp/1\",name=\"TR_software_version_R\"}) by (str_value)", + "expr": "count(device_attribute{device=\"stat/sdp/1\",name=\"TR_software_version_R\"}) by (str_value)", "instant": true, "interval": "", "legendFormat": "", @@ -601,7 +601,7 @@ "targets": [ { "exemplar": true, - "expr": "device_attribute{device=\"lts/recv/1\",name=\"RCU_version_R\"}", + "expr": "device_attribute{device=\"stat/recv/1\",name=\"RCU_version_R\"}", "instant": true, "interval": "", "legendFormat": "", diff --git a/docker-compose/jupyter/ipython-profiles/stationcontrol-jupyter/startup/01-devices.py b/docker-compose/jupyter/ipython-profiles/stationcontrol-jupyter/startup/01-devices.py index 05914fbf1bb3bbde3793c15f2f62b3e306bb022a..74692f10fff62684c21047eb373aebd70a876155 100644 --- a/docker-compose/jupyter/ipython-profiles/stationcontrol-jupyter/startup/01-devices.py +++ b/docker-compose/jupyter/ipython-profiles/stationcontrol-jupyter/startup/01-devices.py @@ -1,13 +1,13 @@ # Create shortcuts for our devices -apsct = DeviceProxy("LTS/APSCT/1") -apspu = DeviceProxy("LTS/APSPU/1") -recv = DeviceProxy("LTS/RECV/1") -sdp = DeviceProxy("LTS/SDP/1") -sst = DeviceProxy("LTS/SST/1") -xst = DeviceProxy("LTS/XST/1") -unb2 = DeviceProxy("LTS/UNB2/1") -boot = DeviceProxy("LTS/Boot/1") -docker = DeviceProxy("LTS/Docker/1") +apsct = DeviceProxy("STAT/APSCT/1") +apspu = DeviceProxy("STAT/APSPU/1") +recv = DeviceProxy("STAT/RECV/1") +sdp = DeviceProxy("STAT/SDP/1") +sst = DeviceProxy("STAT/SST/1") +xst = DeviceProxy("STAT/XST/1") +unb2 = DeviceProxy("STAT/UNB2/1") +boot = DeviceProxy("STAT/Boot/1") +docker = DeviceProxy("STAT/Docker/1") # Put them in a list in case one wants to iterate devices = [apsct, apspu, recv, sdp, sst, xst, unb2, boot, docker] diff --git a/docs/source/developer.rst b/docs/source/developer.rst index 38b18bc5d199546d93e0387788b640350471b61d..e2c36f83c2c458628038803506da62765b8f7004 100644 --- a/docs/source/developer.rst +++ b/docs/source/developer.rst @@ -48,7 +48,7 @@ Tango devices use CORBA, which require all servers to be able to reach each othe entrypoint: # 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 - - python3 -u /opt/lofar/tango/devices/devices/sdp/sdp.py LTS -v -ORBendPoint giop:tcp:0:5701 -ORBendPointPublish giop:tcp:${HOSTNAME}:5701 + - python3 -u /opt/lofar/tango/devices/devices/sdp/sdp.py STAT -v -ORBendPoint giop:tcp:0:5701 -ORBendPointPublish giop:tcp:${HOSTNAME}:5701 Specifying the wrong ``$HOSTNAME`` or port can make your device unreachable, even if it is running. Note that ``$HOSTNAME`` is advertised as is, that is, it is resolved to an IP address by any client that wants to connect. This means the ``$HOSTNAME`` needs to be correct for both the other containers, and external clients. diff --git a/docs/source/devices/boot.rst b/docs/source/devices/boot.rst index 53e2bab88d35f4a751c8e3809a24c1d3a0113f6b..45af638d95ac12ac7f3236a5f0b126a4777714ad 100644 --- a/docs/source/devices/boot.rst +++ b/docs/source/devices/boot.rst @@ -3,7 +3,7 @@ Boot ==================== -The ``boot == DeviceProxy("LTS/Boot/1")`` device is responsible for (re)starting and initialising the other devices. Devices which are not reachable, for example because their docker container is explicitly stopped, are skipped during initialisation. This device provides the following commands: +The ``boot == DeviceProxy("STAT/Boot/1")`` device is responsible for (re)starting and initialising the other devices. Devices which are not reachable, for example because their docker container is explicitly stopped, are skipped during initialisation. This device provides the following commands: :initialise_station(): Stop and start the other devices in the correct order, set their default values, and command them to initialise their hardware. This procedure runs asynchronously, causing this command to return immediately. Initialisation is aborted if an error is encountered. diff --git a/docs/source/devices/docker.rst b/docs/source/devices/docker.rst index df80cf64dc6be38f405688d9d11c7519c59079c3..6ac9d06d452b5c39a48d27687b225cd48c0af769 100644 --- a/docs/source/devices/docker.rst +++ b/docs/source/devices/docker.rst @@ -3,7 +3,7 @@ Docker ==================== -The ``docker == DeviceProxy("LTS/Docker/1")`` device controls the docker containers. It allows starting and stopping them, and querying whether they are running. Each container is represented by two attributes: +The ``docker == DeviceProxy("STAT/Docker/1")`` device controls the docker containers. It allows starting and stopping them, and querying whether they are running. Each container is represented by two attributes: :<container>_R: Returns whether the container is running. diff --git a/docs/source/devices/recv.rst b/docs/source/devices/recv.rst index d92ac6eca48eacc17667133b057bc9b127e5e08f..847f8bb51f7f52850e66b0d25c01269b9961e726 100644 --- a/docs/source/devices/recv.rst +++ b/docs/source/devices/recv.rst @@ -1,7 +1,7 @@ RECV ==================== -The ``recv == DeviceProxy("LTS/RECV/1")`` device controls the RCUs, the LBA antennas, and HBA tiles. Central to its operation are the masks (see also :ref:`attribute-masks`): +The ``recv == DeviceProxy("STAT/RECV/1")`` device controls the RCUs, the LBA antennas, and HBA tiles. Central to its operation are the masks (see also :ref:`attribute-masks`): :RCU_mask_RW: Controls which RCUs will actually be configured when attributes referring to RCUs are written. diff --git a/docs/source/devices/sdp.rst b/docs/source/devices/sdp.rst index b5f38ca5b2d8fe346a1ee90ec5a3a49c0b939af7..c4d4032f47e7e4988437adb54dc7778bd53dc4b1 100644 --- a/docs/source/devices/sdp.rst +++ b/docs/source/devices/sdp.rst @@ -1,7 +1,7 @@ SDP ==================== -The ``sdp == DeviceProxy("LTS/SDP/1")``` device controls the digital signal processing in SDP, performed by the firmware on the FPGAs on the Uniboards. Central to its operation is the mask (see also :ref:`attribute-masks`): +The ``sdp == DeviceProxy("STAT/SDP/1")``` device controls the digital signal processing in SDP, performed by the firmware on the FPGAs on the Uniboards. Central to its operation is the mask (see also :ref:`attribute-masks`): :TR_fpga_mask_RW: Controls which FPGAs will actually be configured when attributes referring to FPGAs are written. diff --git a/docs/source/devices/sst-xst.rst b/docs/source/devices/sst-xst.rst index b5c5c1c57cdd72da3f4b71c23110b75dc009fe6c..cdb689e457dc2d6abebcfc1391f057135f30b722 100644 --- a/docs/source/devices/sst-xst.rst +++ b/docs/source/devices/sst-xst.rst @@ -1,7 +1,7 @@ SST and XST ==================== -The ``sst == DeviceProxy("LTS/SST/1")`` and ``xst == DeviceProxy("LTS/XST/1")`` devices manages the SSTs (subband statistics) and XSTs (crosslet statistics), respectively. The statistics are emitted piece-wise through UDP packets by the FPGAs on the Uniboards in SDP. By default, each device configures the statistics to be streamed to itself (the device), from where the user can obtain them. +The ``sst == DeviceProxy("STAT/SST/1")`` and ``xst == DeviceProxy("STAT/XST/1")`` devices manages the SSTs (subband statistics) and XSTs (crosslet statistics), respectively. The statistics are emitted piece-wise through UDP packets by the FPGAs on the Uniboards in SDP. By default, each device configures the statistics to be streamed to itself (the device), from where the user can obtain them. The statistics are exposed in two ways, as: diff --git a/docs/source/devices/using.rst b/docs/source/devices/using.rst index 66760ebfd53de7df20fe4e58144c7d4b99dc3ecb..b5c41bd8089bc88d606ee0fe7bf8c442ff259475 100644 --- a/docs/source/devices/using.rst +++ b/docs/source/devices/using.rst @@ -84,7 +84,7 @@ Attributes The device can be operated in ``ON`` state, where it exposes *attributes* and *commands*. The attributes can be accessed as python properties, for example:: - recv = DeviceProxy("LTS/RECV/1") + recv = DeviceProxy("STAT/RECV/1") # turn on all LED0s recv.RCU_LED0_RW = [True] * 32 @@ -115,7 +115,7 @@ The masks only affect *writing* to attributes. Reading attributes (monitoring po For example, the ``RCU_mask_RW`` array is the RCU mask in the ``recv`` device. It behaves as follows, when we interact with the ``RCU_LED0_R(W)`` attributes:: - recv = DeviceProxy("LTS/RECV/1") + recv = DeviceProxy("STAT/RECV/1") # set mask to control all RCUs recv.RCU_mask_RW = [True] * 32 diff --git a/docs/source/interfaces/control.rst b/docs/source/interfaces/control.rst index 3c514f11d7a3e5a4bbc1c7339bac3bed0820d70f..adb5775527f554b0ca130afe5c478b165e64ab65 100644 --- a/docs/source/interfaces/control.rst +++ b/docs/source/interfaces/control.rst @@ -38,8 +38,8 @@ Then, if we know what devices are available on the station, we can access them d os.environ["TANGO_HOST"] = "localhost:10000" # Construct a remote reference to a specific device. - # One can also use "tango://localhost:10000/LTS/Boot/1" if TANGO_HOST is not set - boot_device = tango.DeviceProxy("LTS/Boot/1") + # One can also use "tango://localhost:10000/STAT/Boot/1" if TANGO_HOST is not set + boot_device = tango.DeviceProxy("STAT/Boot/1") # Print the device's state. print(boot_device.state()) @@ -56,8 +56,8 @@ To obtain a list of all devices, we need to access the database:: db = tango.Database() # Retrieve the available devices, excluding any Tango-internal ones. - # This returns for example: ['LTS/Boot/1', 'LTS/Docker/1', ...] - devices = list(db.get_device_exported("LTS/*")) + # This returns for example: ['STAT/Boot/1', 'STAT/Docker/1', ...] + devices = list(db.get_device_exported("STAT/*")) # Connect to any of them. any_device = tango.DeviceProxy(devices[0]) @@ -77,7 +77,7 @@ We also provide a ReST API to allow the station to be controlled without needing - retrieving the device state, - and more. -For example, retrieving http://localhost:8080/tango/rest/v10/hosts/databaseds;port=10000/devices/LTS/SDP/1/state returns the following JSON document:: +For example, retrieving http://localhost:8080/tango/rest/v10/hosts/databaseds;port=10000/devices/STAT/SDP/1/state returns the following JSON document:: {"state":"ON","status":"The device is in ON state."} diff --git a/docs/source/interfaces/monitoring.rst b/docs/source/interfaces/monitoring.rst index 7d8a85fdf5bd7c103119a89a8dbae127040a5240..bb1ef494b320a40cd44aec789a0cf8d88653fa2a 100644 --- a/docs/source/interfaces/monitoring.rst +++ b/docs/source/interfaces/monitoring.rst @@ -36,7 +36,7 @@ Prometheus Prometheus stores attributes in the following format:: - device_attribute{device="lts/recv/1", + device_attribute{device="stat/recv/1", dim_x="32", dim_y="0", instance="tango-prometheus-exporter:8000", job="tango", diff --git a/jupyter-notebooks/Archiving_load_test.ipynb b/jupyter-notebooks/Archiving_load_test.ipynb index afe61dacb2c9d01c17035ab641b4affadd31d7fa..64430c99049390ca89b18996ad518c5f0e59de37 100644 --- a/jupyter-notebooks/Archiving_load_test.ipynb +++ b/jupyter-notebooks/Archiving_load_test.ipynb @@ -187,7 +187,7 @@ } ], "source": [ - "device_name = 'LTS/RECV/1'\n", + "device_name = 'STAT/RECV/1'\n", "d=DeviceProxy(device_name) \n", "state = str(d.state())\n", "print(state)" @@ -548,7 +548,7 @@ ], "source": [ "# Update the archive time of an attribute\n", - "archiver.update_archiving_attribute('LTS/RECV/1/rcu_id_r',polling_period=1000,event_period=10000)" + "archiver.update_archiving_attribute('STAT/RECV/1/rcu_id_r',polling_period=1000,event_period=10000)" ] }, { @@ -720,7 +720,7 @@ ], "source": [ "# Add SDP attributes to load test\n", - "sdp_name = 'LTS/SDP/1'\n", + "sdp_name = 'STAT/SDP/1'\n", "d2=DeviceProxy(sdp_name) \n", "state = str(d2.state())\n", "print(state)\n", @@ -1217,7 +1217,7 @@ } ], "source": [ - "#archiver.remove_attribute_from_archiver('lts/recv/1/rcu_temperature_r')\n", + "#archiver.remove_attribute_from_archiver('STAT/recv/1/rcu_temperature_r')\n", "archiver.remove_attributes_in_error()" ] }, @@ -1262,4 +1262,4 @@ }, "nbformat": 4, "nbformat_minor": 5 -} +} \ No newline at end of file diff --git a/jupyter-notebooks/Docker_notebook.ipynb b/jupyter-notebooks/Docker_notebook.ipynb index facc20c3e1e1d561504ef09b08e2e78296d0fb39..6df68c95bff37d25ccbb5ada0fabd4850b07386d 100644 --- a/jupyter-notebooks/Docker_notebook.ipynb +++ b/jupyter-notebooks/Docker_notebook.ipynb @@ -17,7 +17,7 @@ "metadata": {}, "outputs": [], "source": [ - "d=DeviceProxy(\"LTS/Docker/1\")" + "d=DeviceProxy(\"STAT/Docker/1\")" ] }, { @@ -136,4 +136,4 @@ }, "nbformat": 4, "nbformat_minor": 5 -} +} \ No newline at end of file diff --git a/jupyter-notebooks/RECV_archive_all_attributes.ipynb b/jupyter-notebooks/RECV_archive_all_attributes.ipynb index 9941f00e3814827d3fddc73258bd5fedfc27b5c8..384d1522153c46ec6f1ebf96f0593830cecf75e7 100644 --- a/jupyter-notebooks/RECV_archive_all_attributes.ipynb +++ b/jupyter-notebooks/RECV_archive_all_attributes.ipynb @@ -96,7 +96,7 @@ } ], "source": [ - "device_name = 'LTS/RECV/1'\n", + "device_name = 'STAT/RECV/1'\n", "d=DeviceProxy(device_name) \n", "state = str(d.state())\n", "print(state)" @@ -379,4 +379,4 @@ }, "nbformat": 4, "nbformat_minor": 5 -} +} \ No newline at end of file diff --git a/jupyter-notebooks/RECV_notebook.ipynb b/jupyter-notebooks/RECV_notebook.ipynb index 0f246c2bdd6f89e4bae6f06d46caef643091045c..6892f75ca7a91ef3e5bed866c0e3a6c3e9f2d1bb 100644 --- a/jupyter-notebooks/RECV_notebook.ipynb +++ b/jupyter-notebooks/RECV_notebook.ipynb @@ -17,7 +17,7 @@ "metadata": {}, "outputs": [], "source": [ - "d=DeviceProxy(\"LTS/RECV/1\")" + "d=DeviceProxy(\"STAT/RECV/1\")" ] }, { @@ -64,16 +64,16 @@ "evalue": "DevFailed[\nDevError[\n desc = Read value for attribute FPGA_mask_RW has not been updated\n origin = Device_3Impl::read_attributes_no_except\n reason = API_AttrValueNotSet\nseverity = ERR]\n\nDevError[\n desc = Failed to read_attribute on device lts/sdp/1, attribute FPGA_mask_RW\n origin = DeviceProxy::read_attribute()\n reason = API_AttributeFailed\nseverity = ERR]\n]", "output_type": "error", "traceback": [ - "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m", - "\u001b[0;31mDevFailed\u001b[0m Traceback (most recent call last)", - "\u001b[0;32m/tmp/ipykernel_22/2885399456.py\u001b[0m in \u001b[0;36m<module>\u001b[0;34m\u001b[0m\n\u001b[1;32m 1\u001b[0m values = [\n\u001b[0;32m----> 2\u001b[0;31m \u001b[0;34m[\u001b[0m\u001b[0md\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mFPGA_mask_RW\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m\"FPGA_mask_RW\"\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 3\u001b[0m \u001b[0;34m[\u001b[0m\u001b[0md\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mFPGA_scrap_R\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m\"FPGA_scrap_R\"\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 4\u001b[0m \u001b[0;34m[\u001b[0m\u001b[0md\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mFPGA_scrap_RW\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m\"FPGA_scrap_RW\"\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 5\u001b[0m \u001b[0;34m[\u001b[0m\u001b[0md\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mFPGA_status_R\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m\"FPGA_status_R\"\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m/usr/local/lib/python3.7/dist-packages/tango/device_proxy.py\u001b[0m in \u001b[0;36m__DeviceProxy__getattr\u001b[0;34m(self, name)\u001b[0m\n\u001b[1;32m 319\u001b[0m \u001b[0mattr_info\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m__get_attr_cache\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mget\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mname_l\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 320\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0mattr_info\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 321\u001b[0;31m \u001b[0;32mreturn\u001b[0m \u001b[0m__get_attribute_value\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mattr_info\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mname\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 322\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 323\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0mname_l\u001b[0m \u001b[0;32min\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m__get_pipe_cache\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m/usr/local/lib/python3.7/dist-packages/tango/device_proxy.py\u001b[0m in \u001b[0;36m__get_attribute_value\u001b[0;34m(self, attr_info, name)\u001b[0m\n\u001b[1;32m 281\u001b[0m \u001b[0;32mdef\u001b[0m \u001b[0m__get_attribute_value\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mattr_info\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mname\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 282\u001b[0m \u001b[0m_\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0menum_class\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mattr_info\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 283\u001b[0;31m \u001b[0mattr_value\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mread_attribute\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mname\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mvalue\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 284\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0menum_class\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 285\u001b[0m \u001b[0;32mreturn\u001b[0m \u001b[0menum_class\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mattr_value\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m/usr/local/lib/python3.7/dist-packages/tango/green.py\u001b[0m in \u001b[0;36mgreener\u001b[0;34m(obj, *args, **kwargs)\u001b[0m\n\u001b[1;32m 193\u001b[0m \u001b[0mgreen_mode\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0maccess\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'green_mode'\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;32mNone\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 194\u001b[0m \u001b[0mexecutor\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mget_object_executor\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mobj\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mgreen_mode\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 195\u001b[0;31m \u001b[0;32mreturn\u001b[0m \u001b[0mexecutor\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mrun\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mfn\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0margs\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mkwargs\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mwait\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mwait\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mtimeout\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mtimeout\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 196\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 197\u001b[0m \u001b[0;32mreturn\u001b[0m \u001b[0mgreener\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m/usr/local/lib/python3.7/dist-packages/tango/green.py\u001b[0m in \u001b[0;36mrun\u001b[0;34m(self, fn, args, kwargs, wait, timeout)\u001b[0m\n\u001b[1;32m 107\u001b[0m \u001b[0;31m# Sychronous (no delegation)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 108\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0;32mnot\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0masynchronous\u001b[0m \u001b[0;32mor\u001b[0m \u001b[0;32mnot\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0min_executor_context\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 109\u001b[0;31m \u001b[0;32mreturn\u001b[0m \u001b[0mfn\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m*\u001b[0m\u001b[0margs\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 110\u001b[0m \u001b[0;31m# Asynchronous delegation\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 111\u001b[0m \u001b[0maccessor\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mdelegate\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mfn\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m*\u001b[0m\u001b[0margs\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m/usr/local/lib/python3.7/dist-packages/tango/device_proxy.py\u001b[0m in \u001b[0;36m__DeviceProxy__read_attribute\u001b[0;34m(self, value, extract_as)\u001b[0m\n\u001b[1;32m 439\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 440\u001b[0m \u001b[0;32mdef\u001b[0m \u001b[0m__DeviceProxy__read_attribute\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mvalue\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mextract_as\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mExtractAs\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mNumpy\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 441\u001b[0;31m \u001b[0;32mreturn\u001b[0m \u001b[0m__check_read_attribute\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_read_attribute\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mvalue\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mextract_as\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 442\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 443\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m/usr/local/lib/python3.7/dist-packages/tango/device_proxy.py\u001b[0m in \u001b[0;36m__check_read_attribute\u001b[0;34m(dev_attr)\u001b[0m\n\u001b[1;32m 155\u001b[0m \u001b[0;32mdef\u001b[0m \u001b[0m__check_read_attribute\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mdev_attr\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 156\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0mdev_attr\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mhas_failed\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 157\u001b[0;31m \u001b[0;32mraise\u001b[0m \u001b[0mDevFailed\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m*\u001b[0m\u001b[0mdev_attr\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mget_err_stack\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 158\u001b[0m \u001b[0;32mreturn\u001b[0m \u001b[0mdev_attr\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 159\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;31mDevFailed\u001b[0m: DevFailed[\nDevError[\n desc = Read value for attribute FPGA_mask_RW has not been updated\n origin = Device_3Impl::read_attributes_no_except\n reason = API_AttrValueNotSet\nseverity = ERR]\n\nDevError[\n desc = Failed to read_attribute on device lts/sdp/1, attribute FPGA_mask_RW\n origin = DeviceProxy::read_attribute()\n reason = API_AttributeFailed\nseverity = ERR]\n]" + "\u001B[0;31m---------------------------------------------------------------------------\u001B[0m", + "\u001B[0;31mDevFailed\u001B[0m Traceback (most recent call last)", + "\u001B[0;32m/tmp/ipykernel_22/2885399456.py\u001B[0m in \u001B[0;36m<module>\u001B[0;34m\u001B[0m\n\u001B[1;32m 1\u001B[0m values = [\n\u001B[0;32m----> 2\u001B[0;31m \u001B[0;34m[\u001B[0m\u001B[0md\u001B[0m\u001B[0;34m.\u001B[0m\u001B[0mFPGA_mask_RW\u001B[0m\u001B[0;34m,\u001B[0m \u001B[0;34m\"FPGA_mask_RW\"\u001B[0m\u001B[0;34m]\u001B[0m\u001B[0;34m,\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[0m\u001B[1;32m 3\u001B[0m \u001B[0;34m[\u001B[0m\u001B[0md\u001B[0m\u001B[0;34m.\u001B[0m\u001B[0mFPGA_scrap_R\u001B[0m\u001B[0;34m,\u001B[0m \u001B[0;34m\"FPGA_scrap_R\"\u001B[0m\u001B[0;34m]\u001B[0m\u001B[0;34m,\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[1;32m 4\u001B[0m \u001B[0;34m[\u001B[0m\u001B[0md\u001B[0m\u001B[0;34m.\u001B[0m\u001B[0mFPGA_scrap_RW\u001B[0m\u001B[0;34m,\u001B[0m \u001B[0;34m\"FPGA_scrap_RW\"\u001B[0m\u001B[0;34m]\u001B[0m\u001B[0;34m,\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[1;32m 5\u001B[0m \u001B[0;34m[\u001B[0m\u001B[0md\u001B[0m\u001B[0;34m.\u001B[0m\u001B[0mFPGA_status_R\u001B[0m\u001B[0;34m,\u001B[0m \u001B[0;34m\"FPGA_status_R\"\u001B[0m\u001B[0;34m]\u001B[0m\u001B[0;34m,\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n", + "\u001B[0;32m/usr/local/lib/python3.7/dist-packages/tango/device_proxy.py\u001B[0m in \u001B[0;36m__DeviceProxy__getattr\u001B[0;34m(self, name)\u001B[0m\n\u001B[1;32m 319\u001B[0m \u001B[0mattr_info\u001B[0m \u001B[0;34m=\u001B[0m \u001B[0mself\u001B[0m\u001B[0;34m.\u001B[0m\u001B[0m__get_attr_cache\u001B[0m\u001B[0;34m(\u001B[0m\u001B[0;34m)\u001B[0m\u001B[0;34m.\u001B[0m\u001B[0mget\u001B[0m\u001B[0;34m(\u001B[0m\u001B[0mname_l\u001B[0m\u001B[0;34m)\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[1;32m 320\u001B[0m \u001B[0;32mif\u001B[0m \u001B[0mattr_info\u001B[0m\u001B[0;34m:\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[0;32m--> 321\u001B[0;31m \u001B[0;32mreturn\u001B[0m \u001B[0m__get_attribute_value\u001B[0m\u001B[0;34m(\u001B[0m\u001B[0mself\u001B[0m\u001B[0;34m,\u001B[0m \u001B[0mattr_info\u001B[0m\u001B[0;34m,\u001B[0m \u001B[0mname\u001B[0m\u001B[0;34m)\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[0m\u001B[1;32m 322\u001B[0m \u001B[0;34m\u001B[0m\u001B[0m\n\u001B[1;32m 323\u001B[0m \u001B[0;32mif\u001B[0m \u001B[0mname_l\u001B[0m \u001B[0;32min\u001B[0m \u001B[0mself\u001B[0m\u001B[0;34m.\u001B[0m\u001B[0m__get_pipe_cache\u001B[0m\u001B[0;34m(\u001B[0m\u001B[0;34m)\u001B[0m\u001B[0;34m:\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n", + "\u001B[0;32m/usr/local/lib/python3.7/dist-packages/tango/device_proxy.py\u001B[0m in \u001B[0;36m__get_attribute_value\u001B[0;34m(self, attr_info, name)\u001B[0m\n\u001B[1;32m 281\u001B[0m \u001B[0;32mdef\u001B[0m \u001B[0m__get_attribute_value\u001B[0m\u001B[0;34m(\u001B[0m\u001B[0mself\u001B[0m\u001B[0;34m,\u001B[0m \u001B[0mattr_info\u001B[0m\u001B[0;34m,\u001B[0m \u001B[0mname\u001B[0m\u001B[0;34m)\u001B[0m\u001B[0;34m:\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[1;32m 282\u001B[0m \u001B[0m_\u001B[0m\u001B[0;34m,\u001B[0m \u001B[0menum_class\u001B[0m \u001B[0;34m=\u001B[0m \u001B[0mattr_info\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[0;32m--> 283\u001B[0;31m \u001B[0mattr_value\u001B[0m \u001B[0;34m=\u001B[0m \u001B[0mself\u001B[0m\u001B[0;34m.\u001B[0m\u001B[0mread_attribute\u001B[0m\u001B[0;34m(\u001B[0m\u001B[0mname\u001B[0m\u001B[0;34m)\u001B[0m\u001B[0;34m.\u001B[0m\u001B[0mvalue\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[0m\u001B[1;32m 284\u001B[0m \u001B[0;32mif\u001B[0m \u001B[0menum_class\u001B[0m\u001B[0;34m:\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[1;32m 285\u001B[0m \u001B[0;32mreturn\u001B[0m \u001B[0menum_class\u001B[0m\u001B[0;34m(\u001B[0m\u001B[0mattr_value\u001B[0m\u001B[0;34m)\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n", + "\u001B[0;32m/usr/local/lib/python3.7/dist-packages/tango/green.py\u001B[0m in \u001B[0;36mgreener\u001B[0;34m(obj, *args, **kwargs)\u001B[0m\n\u001B[1;32m 193\u001B[0m \u001B[0mgreen_mode\u001B[0m \u001B[0;34m=\u001B[0m \u001B[0maccess\u001B[0m\u001B[0;34m(\u001B[0m\u001B[0;34m'green_mode'\u001B[0m\u001B[0;34m,\u001B[0m \u001B[0;32mNone\u001B[0m\u001B[0;34m)\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[1;32m 194\u001B[0m \u001B[0mexecutor\u001B[0m \u001B[0;34m=\u001B[0m \u001B[0mget_object_executor\u001B[0m\u001B[0;34m(\u001B[0m\u001B[0mobj\u001B[0m\u001B[0;34m,\u001B[0m \u001B[0mgreen_mode\u001B[0m\u001B[0;34m)\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[0;32m--> 195\u001B[0;31m \u001B[0;32mreturn\u001B[0m \u001B[0mexecutor\u001B[0m\u001B[0;34m.\u001B[0m\u001B[0mrun\u001B[0m\u001B[0;34m(\u001B[0m\u001B[0mfn\u001B[0m\u001B[0;34m,\u001B[0m \u001B[0margs\u001B[0m\u001B[0;34m,\u001B[0m \u001B[0mkwargs\u001B[0m\u001B[0;34m,\u001B[0m \u001B[0mwait\u001B[0m\u001B[0;34m=\u001B[0m\u001B[0mwait\u001B[0m\u001B[0;34m,\u001B[0m \u001B[0mtimeout\u001B[0m\u001B[0;34m=\u001B[0m\u001B[0mtimeout\u001B[0m\u001B[0;34m)\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[0m\u001B[1;32m 196\u001B[0m \u001B[0;34m\u001B[0m\u001B[0m\n\u001B[1;32m 197\u001B[0m \u001B[0;32mreturn\u001B[0m \u001B[0mgreener\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n", + "\u001B[0;32m/usr/local/lib/python3.7/dist-packages/tango/green.py\u001B[0m in \u001B[0;36mrun\u001B[0;34m(self, fn, args, kwargs, wait, timeout)\u001B[0m\n\u001B[1;32m 107\u001B[0m \u001B[0;31m# Sychronous (no delegation)\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[1;32m 108\u001B[0m \u001B[0;32mif\u001B[0m \u001B[0;32mnot\u001B[0m \u001B[0mself\u001B[0m\u001B[0;34m.\u001B[0m\u001B[0masynchronous\u001B[0m \u001B[0;32mor\u001B[0m \u001B[0;32mnot\u001B[0m \u001B[0mself\u001B[0m\u001B[0;34m.\u001B[0m\u001B[0min_executor_context\u001B[0m\u001B[0;34m(\u001B[0m\u001B[0;34m)\u001B[0m\u001B[0;34m:\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[0;32m--> 109\u001B[0;31m \u001B[0;32mreturn\u001B[0m \u001B[0mfn\u001B[0m\u001B[0;34m(\u001B[0m\u001B[0;34m*\u001B[0m\u001B[0margs\u001B[0m\u001B[0;34m,\u001B[0m \u001B[0;34m**\u001B[0m\u001B[0mkwargs\u001B[0m\u001B[0;34m)\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[0m\u001B[1;32m 110\u001B[0m \u001B[0;31m# Asynchronous delegation\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[1;32m 111\u001B[0m \u001B[0maccessor\u001B[0m \u001B[0;34m=\u001B[0m \u001B[0mself\u001B[0m\u001B[0;34m.\u001B[0m\u001B[0mdelegate\u001B[0m\u001B[0;34m(\u001B[0m\u001B[0mfn\u001B[0m\u001B[0;34m,\u001B[0m \u001B[0;34m*\u001B[0m\u001B[0margs\u001B[0m\u001B[0;34m,\u001B[0m \u001B[0;34m**\u001B[0m\u001B[0mkwargs\u001B[0m\u001B[0;34m)\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n", + "\u001B[0;32m/usr/local/lib/python3.7/dist-packages/tango/device_proxy.py\u001B[0m in \u001B[0;36m__DeviceProxy__read_attribute\u001B[0;34m(self, value, extract_as)\u001B[0m\n\u001B[1;32m 439\u001B[0m \u001B[0;34m\u001B[0m\u001B[0m\n\u001B[1;32m 440\u001B[0m \u001B[0;32mdef\u001B[0m \u001B[0m__DeviceProxy__read_attribute\u001B[0m\u001B[0;34m(\u001B[0m\u001B[0mself\u001B[0m\u001B[0;34m,\u001B[0m \u001B[0mvalue\u001B[0m\u001B[0;34m,\u001B[0m \u001B[0mextract_as\u001B[0m\u001B[0;34m=\u001B[0m\u001B[0mExtractAs\u001B[0m\u001B[0;34m.\u001B[0m\u001B[0mNumpy\u001B[0m\u001B[0;34m)\u001B[0m\u001B[0;34m:\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[0;32m--> 441\u001B[0;31m \u001B[0;32mreturn\u001B[0m \u001B[0m__check_read_attribute\u001B[0m\u001B[0;34m(\u001B[0m\u001B[0mself\u001B[0m\u001B[0;34m.\u001B[0m\u001B[0m_read_attribute\u001B[0m\u001B[0;34m(\u001B[0m\u001B[0mvalue\u001B[0m\u001B[0;34m,\u001B[0m \u001B[0mextract_as\u001B[0m\u001B[0;34m)\u001B[0m\u001B[0;34m)\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[0m\u001B[1;32m 442\u001B[0m \u001B[0;34m\u001B[0m\u001B[0m\n\u001B[1;32m 443\u001B[0m \u001B[0;34m\u001B[0m\u001B[0m\n", + "\u001B[0;32m/usr/local/lib/python3.7/dist-packages/tango/device_proxy.py\u001B[0m in \u001B[0;36m__check_read_attribute\u001B[0;34m(dev_attr)\u001B[0m\n\u001B[1;32m 155\u001B[0m \u001B[0;32mdef\u001B[0m \u001B[0m__check_read_attribute\u001B[0m\u001B[0;34m(\u001B[0m\u001B[0mdev_attr\u001B[0m\u001B[0;34m)\u001B[0m\u001B[0;34m:\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[1;32m 156\u001B[0m \u001B[0;32mif\u001B[0m \u001B[0mdev_attr\u001B[0m\u001B[0;34m.\u001B[0m\u001B[0mhas_failed\u001B[0m\u001B[0;34m:\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[0;32m--> 157\u001B[0;31m \u001B[0;32mraise\u001B[0m \u001B[0mDevFailed\u001B[0m\u001B[0;34m(\u001B[0m\u001B[0;34m*\u001B[0m\u001B[0mdev_attr\u001B[0m\u001B[0;34m.\u001B[0m\u001B[0mget_err_stack\u001B[0m\u001B[0;34m(\u001B[0m\u001B[0;34m)\u001B[0m\u001B[0;34m)\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[0m\u001B[1;32m 158\u001B[0m \u001B[0;32mreturn\u001B[0m \u001B[0mdev_attr\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[1;32m 159\u001B[0m \u001B[0;34m\u001B[0m\u001B[0m\n", + "\u001B[0;31mDevFailed\u001B[0m: DevFailed[\nDevError[\n desc = Read value for attribute FPGA_mask_RW has not been updated\n origin = Device_3Impl::read_attributes_no_except\n reason = API_AttrValueNotSet\nseverity = ERR]\n\nDevError[\n desc = Failed to read_attribute on device lts/sdp/1, attribute FPGA_mask_RW\n origin = DeviceProxy::read_attribute()\n reason = API_AttributeFailed\nseverity = ERR]\n]" ] } ], @@ -147,17 +147,17 @@ "evalue": "DevFailed[\nDevError[\n desc = Read value for attribute CLK_Enable_PWR_R has not been updated\n origin = Device_3Impl::read_attributes_no_except\n reason = API_AttrValueNotSet\nseverity = ERR]\n\nDevError[\n desc = Failed to read_attribute on device lts/recv/1, attribute CLK_Enable_PWR_R\n origin = DeviceProxy::read_attribute()\n reason = API_AttributeFailed\nseverity = ERR]\n]", "output_type": "error", "traceback": [ - "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m", - "\u001b[0;31mDevFailed\u001b[0m Traceback (most recent call last)", - "\u001b[0;32m/tmp/ipykernel_26/3093379163.py\u001b[0m in \u001b[0;36m<module>\u001b[0;34m\u001b[0m\n\u001b[1;32m 3\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 4\u001b[0m \u001b[0;32mfor\u001b[0m \u001b[0mi\u001b[0m \u001b[0;32min\u001b[0m \u001b[0mattr_names\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m----> 5\u001b[0;31m \u001b[0mexec\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m\"value = print(i, d.{})\"\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mformat\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mi\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m", - "\u001b[0;32m<string>\u001b[0m in \u001b[0;36m<module>\u001b[0;34m\u001b[0m\n", - "\u001b[0;32m/usr/local/lib/python3.7/dist-packages/tango/device_proxy.py\u001b[0m in \u001b[0;36m__DeviceProxy__getattr\u001b[0;34m(self, name)\u001b[0m\n\u001b[1;32m 319\u001b[0m \u001b[0mattr_info\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m__get_attr_cache\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mget\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mname_l\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 320\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0mattr_info\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 321\u001b[0;31m \u001b[0;32mreturn\u001b[0m \u001b[0m__get_attribute_value\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mattr_info\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mname\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 322\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 323\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0mname_l\u001b[0m \u001b[0;32min\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m__get_pipe_cache\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m/usr/local/lib/python3.7/dist-packages/tango/device_proxy.py\u001b[0m in \u001b[0;36m__get_attribute_value\u001b[0;34m(self, attr_info, name)\u001b[0m\n\u001b[1;32m 281\u001b[0m \u001b[0;32mdef\u001b[0m \u001b[0m__get_attribute_value\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mattr_info\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mname\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 282\u001b[0m \u001b[0m_\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0menum_class\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mattr_info\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 283\u001b[0;31m \u001b[0mattr_value\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mread_attribute\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mname\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mvalue\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 284\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0menum_class\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 285\u001b[0m \u001b[0;32mreturn\u001b[0m \u001b[0menum_class\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mattr_value\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m/usr/local/lib/python3.7/dist-packages/tango/green.py\u001b[0m in \u001b[0;36mgreener\u001b[0;34m(obj, *args, **kwargs)\u001b[0m\n\u001b[1;32m 193\u001b[0m \u001b[0mgreen_mode\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0maccess\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'green_mode'\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;32mNone\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 194\u001b[0m \u001b[0mexecutor\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mget_object_executor\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mobj\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mgreen_mode\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 195\u001b[0;31m \u001b[0;32mreturn\u001b[0m \u001b[0mexecutor\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mrun\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mfn\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0margs\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mkwargs\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mwait\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mwait\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mtimeout\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mtimeout\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 196\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 197\u001b[0m \u001b[0;32mreturn\u001b[0m \u001b[0mgreener\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m/usr/local/lib/python3.7/dist-packages/tango/green.py\u001b[0m in \u001b[0;36mrun\u001b[0;34m(self, fn, args, kwargs, wait, timeout)\u001b[0m\n\u001b[1;32m 107\u001b[0m \u001b[0;31m# Sychronous (no delegation)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 108\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0;32mnot\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0masynchronous\u001b[0m \u001b[0;32mor\u001b[0m \u001b[0;32mnot\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0min_executor_context\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 109\u001b[0;31m \u001b[0;32mreturn\u001b[0m \u001b[0mfn\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m*\u001b[0m\u001b[0margs\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 110\u001b[0m \u001b[0;31m# Asynchronous delegation\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 111\u001b[0m \u001b[0maccessor\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mdelegate\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mfn\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m*\u001b[0m\u001b[0margs\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m/usr/local/lib/python3.7/dist-packages/tango/device_proxy.py\u001b[0m in \u001b[0;36m__DeviceProxy__read_attribute\u001b[0;34m(self, value, extract_as)\u001b[0m\n\u001b[1;32m 439\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 440\u001b[0m \u001b[0;32mdef\u001b[0m \u001b[0m__DeviceProxy__read_attribute\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mvalue\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mextract_as\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mExtractAs\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mNumpy\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 441\u001b[0;31m \u001b[0;32mreturn\u001b[0m \u001b[0m__check_read_attribute\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_read_attribute\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mvalue\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mextract_as\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 442\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 443\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m/usr/local/lib/python3.7/dist-packages/tango/device_proxy.py\u001b[0m in \u001b[0;36m__check_read_attribute\u001b[0;34m(dev_attr)\u001b[0m\n\u001b[1;32m 155\u001b[0m \u001b[0;32mdef\u001b[0m \u001b[0m__check_read_attribute\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mdev_attr\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 156\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0mdev_attr\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mhas_failed\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 157\u001b[0;31m \u001b[0;32mraise\u001b[0m \u001b[0mDevFailed\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m*\u001b[0m\u001b[0mdev_attr\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mget_err_stack\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 158\u001b[0m \u001b[0;32mreturn\u001b[0m \u001b[0mdev_attr\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 159\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;31mDevFailed\u001b[0m: DevFailed[\nDevError[\n desc = Read value for attribute CLK_Enable_PWR_R has not been updated\n origin = Device_3Impl::read_attributes_no_except\n reason = API_AttrValueNotSet\nseverity = ERR]\n\nDevError[\n desc = Failed to read_attribute on device lts/recv/1, attribute CLK_Enable_PWR_R\n origin = DeviceProxy::read_attribute()\n reason = API_AttributeFailed\nseverity = ERR]\n]" + "\u001B[0;31m---------------------------------------------------------------------------\u001B[0m", + "\u001B[0;31mDevFailed\u001B[0m Traceback (most recent call last)", + "\u001B[0;32m/tmp/ipykernel_26/3093379163.py\u001B[0m in \u001B[0;36m<module>\u001B[0;34m\u001B[0m\n\u001B[1;32m 3\u001B[0m \u001B[0;34m\u001B[0m\u001B[0m\n\u001B[1;32m 4\u001B[0m \u001B[0;32mfor\u001B[0m \u001B[0mi\u001B[0m \u001B[0;32min\u001B[0m \u001B[0mattr_names\u001B[0m\u001B[0;34m:\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[0;32m----> 5\u001B[0;31m \u001B[0mexec\u001B[0m\u001B[0;34m(\u001B[0m\u001B[0;34m\"value = print(i, d.{})\"\u001B[0m\u001B[0;34m.\u001B[0m\u001B[0mformat\u001B[0m\u001B[0;34m(\u001B[0m\u001B[0mi\u001B[0m\u001B[0;34m)\u001B[0m\u001B[0;34m)\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[0m", + "\u001B[0;32m<string>\u001B[0m in \u001B[0;36m<module>\u001B[0;34m\u001B[0m\n", + "\u001B[0;32m/usr/local/lib/python3.7/dist-packages/tango/device_proxy.py\u001B[0m in \u001B[0;36m__DeviceProxy__getattr\u001B[0;34m(self, name)\u001B[0m\n\u001B[1;32m 319\u001B[0m \u001B[0mattr_info\u001B[0m \u001B[0;34m=\u001B[0m \u001B[0mself\u001B[0m\u001B[0;34m.\u001B[0m\u001B[0m__get_attr_cache\u001B[0m\u001B[0;34m(\u001B[0m\u001B[0;34m)\u001B[0m\u001B[0;34m.\u001B[0m\u001B[0mget\u001B[0m\u001B[0;34m(\u001B[0m\u001B[0mname_l\u001B[0m\u001B[0;34m)\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[1;32m 320\u001B[0m \u001B[0;32mif\u001B[0m \u001B[0mattr_info\u001B[0m\u001B[0;34m:\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[0;32m--> 321\u001B[0;31m \u001B[0;32mreturn\u001B[0m \u001B[0m__get_attribute_value\u001B[0m\u001B[0;34m(\u001B[0m\u001B[0mself\u001B[0m\u001B[0;34m,\u001B[0m \u001B[0mattr_info\u001B[0m\u001B[0;34m,\u001B[0m \u001B[0mname\u001B[0m\u001B[0;34m)\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[0m\u001B[1;32m 322\u001B[0m \u001B[0;34m\u001B[0m\u001B[0m\n\u001B[1;32m 323\u001B[0m \u001B[0;32mif\u001B[0m \u001B[0mname_l\u001B[0m \u001B[0;32min\u001B[0m \u001B[0mself\u001B[0m\u001B[0;34m.\u001B[0m\u001B[0m__get_pipe_cache\u001B[0m\u001B[0;34m(\u001B[0m\u001B[0;34m)\u001B[0m\u001B[0;34m:\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n", + "\u001B[0;32m/usr/local/lib/python3.7/dist-packages/tango/device_proxy.py\u001B[0m in \u001B[0;36m__get_attribute_value\u001B[0;34m(self, attr_info, name)\u001B[0m\n\u001B[1;32m 281\u001B[0m \u001B[0;32mdef\u001B[0m \u001B[0m__get_attribute_value\u001B[0m\u001B[0;34m(\u001B[0m\u001B[0mself\u001B[0m\u001B[0;34m,\u001B[0m \u001B[0mattr_info\u001B[0m\u001B[0;34m,\u001B[0m \u001B[0mname\u001B[0m\u001B[0;34m)\u001B[0m\u001B[0;34m:\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[1;32m 282\u001B[0m \u001B[0m_\u001B[0m\u001B[0;34m,\u001B[0m \u001B[0menum_class\u001B[0m \u001B[0;34m=\u001B[0m \u001B[0mattr_info\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[0;32m--> 283\u001B[0;31m \u001B[0mattr_value\u001B[0m \u001B[0;34m=\u001B[0m \u001B[0mself\u001B[0m\u001B[0;34m.\u001B[0m\u001B[0mread_attribute\u001B[0m\u001B[0;34m(\u001B[0m\u001B[0mname\u001B[0m\u001B[0;34m)\u001B[0m\u001B[0;34m.\u001B[0m\u001B[0mvalue\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[0m\u001B[1;32m 284\u001B[0m \u001B[0;32mif\u001B[0m \u001B[0menum_class\u001B[0m\u001B[0;34m:\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[1;32m 285\u001B[0m \u001B[0;32mreturn\u001B[0m \u001B[0menum_class\u001B[0m\u001B[0;34m(\u001B[0m\u001B[0mattr_value\u001B[0m\u001B[0;34m)\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n", + "\u001B[0;32m/usr/local/lib/python3.7/dist-packages/tango/green.py\u001B[0m in \u001B[0;36mgreener\u001B[0;34m(obj, *args, **kwargs)\u001B[0m\n\u001B[1;32m 193\u001B[0m \u001B[0mgreen_mode\u001B[0m \u001B[0;34m=\u001B[0m \u001B[0maccess\u001B[0m\u001B[0;34m(\u001B[0m\u001B[0;34m'green_mode'\u001B[0m\u001B[0;34m,\u001B[0m \u001B[0;32mNone\u001B[0m\u001B[0;34m)\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[1;32m 194\u001B[0m \u001B[0mexecutor\u001B[0m \u001B[0;34m=\u001B[0m \u001B[0mget_object_executor\u001B[0m\u001B[0;34m(\u001B[0m\u001B[0mobj\u001B[0m\u001B[0;34m,\u001B[0m \u001B[0mgreen_mode\u001B[0m\u001B[0;34m)\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[0;32m--> 195\u001B[0;31m \u001B[0;32mreturn\u001B[0m \u001B[0mexecutor\u001B[0m\u001B[0;34m.\u001B[0m\u001B[0mrun\u001B[0m\u001B[0;34m(\u001B[0m\u001B[0mfn\u001B[0m\u001B[0;34m,\u001B[0m \u001B[0margs\u001B[0m\u001B[0;34m,\u001B[0m \u001B[0mkwargs\u001B[0m\u001B[0;34m,\u001B[0m \u001B[0mwait\u001B[0m\u001B[0;34m=\u001B[0m\u001B[0mwait\u001B[0m\u001B[0;34m,\u001B[0m \u001B[0mtimeout\u001B[0m\u001B[0;34m=\u001B[0m\u001B[0mtimeout\u001B[0m\u001B[0;34m)\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[0m\u001B[1;32m 196\u001B[0m \u001B[0;34m\u001B[0m\u001B[0m\n\u001B[1;32m 197\u001B[0m \u001B[0;32mreturn\u001B[0m \u001B[0mgreener\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n", + "\u001B[0;32m/usr/local/lib/python3.7/dist-packages/tango/green.py\u001B[0m in \u001B[0;36mrun\u001B[0;34m(self, fn, args, kwargs, wait, timeout)\u001B[0m\n\u001B[1;32m 107\u001B[0m \u001B[0;31m# Sychronous (no delegation)\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[1;32m 108\u001B[0m \u001B[0;32mif\u001B[0m \u001B[0;32mnot\u001B[0m \u001B[0mself\u001B[0m\u001B[0;34m.\u001B[0m\u001B[0masynchronous\u001B[0m \u001B[0;32mor\u001B[0m \u001B[0;32mnot\u001B[0m \u001B[0mself\u001B[0m\u001B[0;34m.\u001B[0m\u001B[0min_executor_context\u001B[0m\u001B[0;34m(\u001B[0m\u001B[0;34m)\u001B[0m\u001B[0;34m:\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[0;32m--> 109\u001B[0;31m \u001B[0;32mreturn\u001B[0m \u001B[0mfn\u001B[0m\u001B[0;34m(\u001B[0m\u001B[0;34m*\u001B[0m\u001B[0margs\u001B[0m\u001B[0;34m,\u001B[0m \u001B[0;34m**\u001B[0m\u001B[0mkwargs\u001B[0m\u001B[0;34m)\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[0m\u001B[1;32m 110\u001B[0m \u001B[0;31m# Asynchronous delegation\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[1;32m 111\u001B[0m \u001B[0maccessor\u001B[0m \u001B[0;34m=\u001B[0m \u001B[0mself\u001B[0m\u001B[0;34m.\u001B[0m\u001B[0mdelegate\u001B[0m\u001B[0;34m(\u001B[0m\u001B[0mfn\u001B[0m\u001B[0;34m,\u001B[0m \u001B[0;34m*\u001B[0m\u001B[0margs\u001B[0m\u001B[0;34m,\u001B[0m \u001B[0;34m**\u001B[0m\u001B[0mkwargs\u001B[0m\u001B[0;34m)\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n", + "\u001B[0;32m/usr/local/lib/python3.7/dist-packages/tango/device_proxy.py\u001B[0m in \u001B[0;36m__DeviceProxy__read_attribute\u001B[0;34m(self, value, extract_as)\u001B[0m\n\u001B[1;32m 439\u001B[0m \u001B[0;34m\u001B[0m\u001B[0m\n\u001B[1;32m 440\u001B[0m \u001B[0;32mdef\u001B[0m \u001B[0m__DeviceProxy__read_attribute\u001B[0m\u001B[0;34m(\u001B[0m\u001B[0mself\u001B[0m\u001B[0;34m,\u001B[0m \u001B[0mvalue\u001B[0m\u001B[0;34m,\u001B[0m \u001B[0mextract_as\u001B[0m\u001B[0;34m=\u001B[0m\u001B[0mExtractAs\u001B[0m\u001B[0;34m.\u001B[0m\u001B[0mNumpy\u001B[0m\u001B[0;34m)\u001B[0m\u001B[0;34m:\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[0;32m--> 441\u001B[0;31m \u001B[0;32mreturn\u001B[0m \u001B[0m__check_read_attribute\u001B[0m\u001B[0;34m(\u001B[0m\u001B[0mself\u001B[0m\u001B[0;34m.\u001B[0m\u001B[0m_read_attribute\u001B[0m\u001B[0;34m(\u001B[0m\u001B[0mvalue\u001B[0m\u001B[0;34m,\u001B[0m \u001B[0mextract_as\u001B[0m\u001B[0;34m)\u001B[0m\u001B[0;34m)\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[0m\u001B[1;32m 442\u001B[0m \u001B[0;34m\u001B[0m\u001B[0m\n\u001B[1;32m 443\u001B[0m \u001B[0;34m\u001B[0m\u001B[0m\n", + "\u001B[0;32m/usr/local/lib/python3.7/dist-packages/tango/device_proxy.py\u001B[0m in \u001B[0;36m__check_read_attribute\u001B[0;34m(dev_attr)\u001B[0m\n\u001B[1;32m 155\u001B[0m \u001B[0;32mdef\u001B[0m \u001B[0m__check_read_attribute\u001B[0m\u001B[0;34m(\u001B[0m\u001B[0mdev_attr\u001B[0m\u001B[0;34m)\u001B[0m\u001B[0;34m:\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[1;32m 156\u001B[0m \u001B[0;32mif\u001B[0m \u001B[0mdev_attr\u001B[0m\u001B[0;34m.\u001B[0m\u001B[0mhas_failed\u001B[0m\u001B[0;34m:\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[0;32m--> 157\u001B[0;31m \u001B[0;32mraise\u001B[0m \u001B[0mDevFailed\u001B[0m\u001B[0;34m(\u001B[0m\u001B[0;34m*\u001B[0m\u001B[0mdev_attr\u001B[0m\u001B[0;34m.\u001B[0m\u001B[0mget_err_stack\u001B[0m\u001B[0;34m(\u001B[0m\u001B[0;34m)\u001B[0m\u001B[0;34m)\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[0m\u001B[1;32m 158\u001B[0m \u001B[0;32mreturn\u001B[0m \u001B[0mdev_attr\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[1;32m 159\u001B[0m \u001B[0;34m\u001B[0m\u001B[0m\n", + "\u001B[0;31mDevFailed\u001B[0m: DevFailed[\nDevError[\n desc = Read value for attribute CLK_Enable_PWR_R has not been updated\n origin = Device_3Impl::read_attributes_no_except\n reason = API_AttrValueNotSet\nseverity = ERR]\n\nDevError[\n desc = Failed to read_attribute on device lts/recv/1, attribute CLK_Enable_PWR_R\n origin = DeviceProxy::read_attribute()\n reason = API_AttributeFailed\nseverity = ERR]\n]" ] } ], @@ -191,4 +191,4 @@ }, "nbformat": 4, "nbformat_minor": 5 -} +} \ No newline at end of file diff --git a/jupyter-notebooks/UNB2_notebook.ipynb b/jupyter-notebooks/UNB2_notebook.ipynb index d95aebef21b589d381ac137874282eaf579b8776..d3fcdc6794d746d2168f661ec4f3fc08f9550ebe 100644 --- a/jupyter-notebooks/UNB2_notebook.ipynb +++ b/jupyter-notebooks/UNB2_notebook.ipynb @@ -17,7 +17,7 @@ "metadata": {}, "outputs": [], "source": [ - "d=DeviceProxy(\"LTS/UNB2/1\")" + "d=DeviceProxy(\"STAT/UNB2/1\")" ] }, { @@ -240,12 +240,12 @@ "evalue": "FPGA_mask_RW", "output_type": "error", "traceback": [ - "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m", - "\u001b[0;31mAttributeError\u001b[0m Traceback (most recent call last)", - "\u001b[0;32m/tmp/ipykernel_22/2885399456.py\u001b[0m in \u001b[0;36m<module>\u001b[0;34m\u001b[0m\n\u001b[1;32m 1\u001b[0m values = [\n\u001b[0;32m----> 2\u001b[0;31m \u001b[0;34m[\u001b[0m\u001b[0md\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mFPGA_mask_RW\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m\"FPGA_mask_RW\"\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 3\u001b[0m \u001b[0;34m[\u001b[0m\u001b[0md\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mFPGA_scrap_R\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m\"FPGA_scrap_R\"\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 4\u001b[0m \u001b[0;34m[\u001b[0m\u001b[0md\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mFPGA_scrap_RW\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m\"FPGA_scrap_RW\"\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 5\u001b[0m \u001b[0;34m[\u001b[0m\u001b[0md\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mFPGA_status_R\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m\"FPGA_status_R\"\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m/usr/local/lib/python3.7/dist-packages/tango/device_proxy.py\u001b[0m in \u001b[0;36m__DeviceProxy__getattr\u001b[0;34m(self, name)\u001b[0m\n\u001b[1;32m 353\u001b[0m \u001b[0;32mreturn\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mread_pipe\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mname\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 354\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 355\u001b[0;31m \u001b[0msix\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mraise_from\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mAttributeError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mname\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mcause\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 356\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 357\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m/usr/local/lib/python3.7/dist-packages/six.py\u001b[0m in \u001b[0;36mraise_from\u001b[0;34m(value, from_value)\u001b[0m\n", - "\u001b[0;31mAttributeError\u001b[0m: FPGA_mask_RW" + "\u001B[0;31m---------------------------------------------------------------------------\u001B[0m", + "\u001B[0;31mAttributeError\u001B[0m Traceback (most recent call last)", + "\u001B[0;32m/tmp/ipykernel_22/2885399456.py\u001B[0m in \u001B[0;36m<module>\u001B[0;34m\u001B[0m\n\u001B[1;32m 1\u001B[0m values = [\n\u001B[0;32m----> 2\u001B[0;31m \u001B[0;34m[\u001B[0m\u001B[0md\u001B[0m\u001B[0;34m.\u001B[0m\u001B[0mFPGA_mask_RW\u001B[0m\u001B[0;34m,\u001B[0m \u001B[0;34m\"FPGA_mask_RW\"\u001B[0m\u001B[0;34m]\u001B[0m\u001B[0;34m,\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[0m\u001B[1;32m 3\u001B[0m \u001B[0;34m[\u001B[0m\u001B[0md\u001B[0m\u001B[0;34m.\u001B[0m\u001B[0mFPGA_scrap_R\u001B[0m\u001B[0;34m,\u001B[0m \u001B[0;34m\"FPGA_scrap_R\"\u001B[0m\u001B[0;34m]\u001B[0m\u001B[0;34m,\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[1;32m 4\u001B[0m \u001B[0;34m[\u001B[0m\u001B[0md\u001B[0m\u001B[0;34m.\u001B[0m\u001B[0mFPGA_scrap_RW\u001B[0m\u001B[0;34m,\u001B[0m \u001B[0;34m\"FPGA_scrap_RW\"\u001B[0m\u001B[0;34m]\u001B[0m\u001B[0;34m,\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[1;32m 5\u001B[0m \u001B[0;34m[\u001B[0m\u001B[0md\u001B[0m\u001B[0;34m.\u001B[0m\u001B[0mFPGA_status_R\u001B[0m\u001B[0;34m,\u001B[0m \u001B[0;34m\"FPGA_status_R\"\u001B[0m\u001B[0;34m]\u001B[0m\u001B[0;34m,\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n", + "\u001B[0;32m/usr/local/lib/python3.7/dist-packages/tango/device_proxy.py\u001B[0m in \u001B[0;36m__DeviceProxy__getattr\u001B[0;34m(self, name)\u001B[0m\n\u001B[1;32m 353\u001B[0m \u001B[0;32mreturn\u001B[0m \u001B[0mself\u001B[0m\u001B[0;34m.\u001B[0m\u001B[0mread_pipe\u001B[0m\u001B[0;34m(\u001B[0m\u001B[0mname\u001B[0m\u001B[0;34m)\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[1;32m 354\u001B[0m \u001B[0;34m\u001B[0m\u001B[0m\n\u001B[0;32m--> 355\u001B[0;31m \u001B[0msix\u001B[0m\u001B[0;34m.\u001B[0m\u001B[0mraise_from\u001B[0m\u001B[0;34m(\u001B[0m\u001B[0mAttributeError\u001B[0m\u001B[0;34m(\u001B[0m\u001B[0mname\u001B[0m\u001B[0;34m)\u001B[0m\u001B[0;34m,\u001B[0m \u001B[0mcause\u001B[0m\u001B[0;34m)\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[0m\u001B[1;32m 356\u001B[0m \u001B[0;34m\u001B[0m\u001B[0m\n\u001B[1;32m 357\u001B[0m \u001B[0;34m\u001B[0m\u001B[0m\n", + "\u001B[0;32m/usr/local/lib/python3.7/dist-packages/six.py\u001B[0m in \u001B[0;36mraise_from\u001B[0;34m(value, from_value)\u001B[0m\n", + "\u001B[0;31mAttributeError\u001B[0m: FPGA_mask_RW" ] } ], @@ -476,4 +476,4 @@ }, "nbformat": 4, "nbformat_minor": 5 -} +} \ No newline at end of file diff --git a/jupyter-notebooks/WG_test.ipynb b/jupyter-notebooks/WG_test.ipynb index fece6f9439e16869c958d6b68b77cf87c1cdad7c..5c68571046f886bded570ad37edec14e0a1a1fb0 100644 --- a/jupyter-notebooks/WG_test.ipynb +++ b/jupyter-notebooks/WG_test.ipynb @@ -18,8 +18,8 @@ } ], "source": [ - "#d=DeviceProxy(\"LTS/SST/1\")\n", - "#s=DeviceProxy(\"LTS/SDP/1\")\n", + "#d=DeviceProxy(\"STAT/SST/1\")\n", + "#s=DeviceProxy(\"STAT/SDP/1\")\n", "#d.off(),d.initialise(), d.on()\n", "s.initialise(), s.on()\n", "(d.state(), s.state())" @@ -111,12 +111,12 @@ "evalue": "set_defaults", "output_type": "error", "traceback": [ - "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m", - "\u001b[0;31mAttributeError\u001b[0m Traceback (most recent call last)", - "\u001b[0;32m/tmp/ipykernel_21/1160776047.py\u001b[0m in \u001b[0;36m<module>\u001b[0;34m\u001b[0m\n\u001b[0;32m----> 1\u001b[0;31m \u001b[0md\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mset_defaults\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m", - "\u001b[0;32m/usr/local/lib/python3.7/dist-packages/tango/device_proxy.py\u001b[0m in \u001b[0;36m__DeviceProxy__getattr\u001b[0;34m(self, name)\u001b[0m\n\u001b[1;32m 353\u001b[0m \u001b[0;32mreturn\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mread_pipe\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mname\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 354\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 355\u001b[0;31m \u001b[0msix\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mraise_from\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mAttributeError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mname\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mcause\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 356\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 357\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m/usr/local/lib/python3.7/dist-packages/six.py\u001b[0m in \u001b[0;36mraise_from\u001b[0;34m(value, from_value)\u001b[0m\n", - "\u001b[0;31mAttributeError\u001b[0m: set_defaults" + "\u001B[0;31m---------------------------------------------------------------------------\u001B[0m", + "\u001B[0;31mAttributeError\u001B[0m Traceback (most recent call last)", + "\u001B[0;32m/tmp/ipykernel_21/1160776047.py\u001B[0m in \u001B[0;36m<module>\u001B[0;34m\u001B[0m\n\u001B[0;32m----> 1\u001B[0;31m \u001B[0md\u001B[0m\u001B[0;34m.\u001B[0m\u001B[0mset_defaults\u001B[0m\u001B[0;34m(\u001B[0m\u001B[0;34m)\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[0m", + "\u001B[0;32m/usr/local/lib/python3.7/dist-packages/tango/device_proxy.py\u001B[0m in \u001B[0;36m__DeviceProxy__getattr\u001B[0;34m(self, name)\u001B[0m\n\u001B[1;32m 353\u001B[0m \u001B[0;32mreturn\u001B[0m \u001B[0mself\u001B[0m\u001B[0;34m.\u001B[0m\u001B[0mread_pipe\u001B[0m\u001B[0;34m(\u001B[0m\u001B[0mname\u001B[0m\u001B[0;34m)\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[1;32m 354\u001B[0m \u001B[0;34m\u001B[0m\u001B[0m\n\u001B[0;32m--> 355\u001B[0;31m \u001B[0msix\u001B[0m\u001B[0;34m.\u001B[0m\u001B[0mraise_from\u001B[0m\u001B[0;34m(\u001B[0m\u001B[0mAttributeError\u001B[0m\u001B[0;34m(\u001B[0m\u001B[0mname\u001B[0m\u001B[0;34m)\u001B[0m\u001B[0;34m,\u001B[0m \u001B[0mcause\u001B[0m\u001B[0;34m)\u001B[0m\u001B[0;34m\u001B[0m\u001B[0;34m\u001B[0m\u001B[0m\n\u001B[0m\u001B[1;32m 356\u001B[0m \u001B[0;34m\u001B[0m\u001B[0m\n\u001B[1;32m 357\u001B[0m \u001B[0;34m\u001B[0m\u001B[0m\n", + "\u001B[0;32m/usr/local/lib/python3.7/dist-packages/six.py\u001B[0m in \u001B[0;36mraise_from\u001B[0;34m(value, from_value)\u001B[0m\n", + "\u001B[0;31mAttributeError\u001B[0m: set_defaults" ] } ], @@ -1620,4 +1620,4 @@ }, "nbformat": 4, "nbformat_minor": 5 -} +} \ No newline at end of file diff --git a/jupyter-notebooks/archiving_demo.ipynb b/jupyter-notebooks/archiving_demo.ipynb index 6ae2c3bc281d9e1269b9d0a5cab606bc11ef0553..7c63a8b215910525ae730d4a0521605eb57347c2 100644 --- a/jupyter-notebooks/archiving_demo.ipynb +++ b/jupyter-notebooks/archiving_demo.ipynb @@ -33,7 +33,7 @@ } ], "source": [ - "dev_rand = DeviceProxy(\"LTS/Random_Data/1\")\n", + "dev_rand = DeviceProxy(\"STAT/Random_Data/1\")\n", "dev_rand.get_attribute_list()" ] }, @@ -44,7 +44,7 @@ "metadata": {}, "outputs": [], "source": [ - "attr_fullname = 'lts/random_data/1/rnd4'\n", + "attr_fullname = 'stat/random_data/1/rnd4'\n", "archiver = Archiver()" ] }, @@ -155,7 +155,7 @@ "metadata": {}, "outputs": [], "source": [ - "attr_fullname = 'lts/random_data/1/rnd21'\n", + "attr_fullname = 'stat/random_data/1/rnd21'\n", "archiver.add_attribute_to_archiver(attr_fullname,polling_period=1000,event_period=1000)" ] }, @@ -1243,7 +1243,7 @@ "metadata": {}, "outputs": [], "source": [ - "d=DeviceProxy(\"LTS/RECV/1\")" + "d=DeviceProxy(\"STAT/RECV/1\")" ] }, { @@ -1328,7 +1328,7 @@ "metadata": {}, "outputs": [], "source": [ - "main_att = 'lts/recv/1/RCU_temperature_R'\n", + "main_att = 'stat/recv/1/RCU_temperature_R'\n", "archiver.add_attribute_to_archiver(main_att,polling_period=1000,event_period=1000)" ] }, @@ -1981,4 +1981,4 @@ }, "nbformat": 4, "nbformat_minor": 5 -} +} \ No newline at end of file diff --git a/jupyter-notebooks/ini_device.ipynb b/jupyter-notebooks/ini_device.ipynb index ba365f263ca35e627b0430f26a02d53af059333a..a5b5e950e9cdf5dbffa58624523df2a7cca6b17f 100644 --- a/jupyter-notebooks/ini_device.ipynb +++ b/jupyter-notebooks/ini_device.ipynb @@ -18,7 +18,7 @@ "metadata": {}, "outputs": [], "source": [ - "d=DeviceProxy(\"LTS/ini_device/1\")" + "d=DeviceProxy(\"STAT/ini_device/1\")" ] }, { @@ -235,4 +235,4 @@ }, "nbformat": 4, "nbformat_minor": 5 -} +} \ No newline at end of file diff --git a/jupyter-notebooks/test_device.ipynb b/jupyter-notebooks/test_device.ipynb index 7701f520937bcaf88b09f624c8b9e3a4ee752c85..13942fd93928b06510c6650200b4d1a48034807a 100644 --- a/jupyter-notebooks/test_device.ipynb +++ b/jupyter-notebooks/test_device.ipynb @@ -18,7 +18,7 @@ "metadata": {}, "outputs": [], "source": [ - "d=DeviceProxy(\"LTS/SST/1\")" + "d=DeviceProxy(\"STAT/SST/1\")" ] }, { @@ -143,4 +143,4 @@ }, "nbformat": 4, "nbformat_minor": 5 -} +} \ No newline at end of file diff --git a/tangostationcontrol/tangostationcontrol/devices/boot.py b/tangostationcontrol/tangostationcontrol/devices/boot.py index 40fb6f5f4fb6f8648adf8897340278fed2040f43..a962d321840fa4a1d483a8c0f59db34695394237 100644 --- a/tangostationcontrol/tangostationcontrol/devices/boot.py +++ b/tangostationcontrol/tangostationcontrol/devices/boot.py @@ -199,14 +199,14 @@ class Boot(hardware_device): Device_Names = device_property( dtype='DevVarStringArray', mandatory=False, - default_value=["LTS/Docker/1", # Docker controls the device containers, so it goes before anything else - "LTS/APSPU/1", # APS Power Units control other hardware we want to initialise - "LTS/APSCT/1", - "LTS/RECV/1", # RCUs are input for SDP, so initialise them first - "LTS/UNB2/1", # Uniboards host SDP, so initialise them first - "LTS/SDP/1", # SDP controls the mask for SST/XST/BST, so initialise it first - "LTS/SST/1", - "LTS/XST/1", + default_value=["STAT/Docker/1", # Docker controls the device containers, so it goes before anything else + "STAT/APSPU/1", # APS Power Units control other hardware we want to initialise + "STAT/APSCT/1", + "STAT/RECV/1", # RCUs are input for SDP, so initialise them first + "STAT/UNB2/1", # Uniboards host SDP, so initialise them first + "STAT/SDP/1", # SDP controls the mask for SST/XST/BST, so initialise it first + "STAT/SST/1", + "STAT/XST/1", ], ) diff --git a/tangostationcontrol/tangostationcontrol/integration_test/devices/test_device_recv.py b/tangostationcontrol/tangostationcontrol/integration_test/devices/test_device_recv.py index 6e6e8602e0662750b7b097c4e60f7fef0ce056a2..6d9353936537a116442409b9ce7c343fa4d803b1 100644 --- a/tangostationcontrol/tangostationcontrol/integration_test/devices/test_device_recv.py +++ b/tangostationcontrol/tangostationcontrol/integration_test/devices/test_device_recv.py @@ -20,7 +20,7 @@ class TestDeviceRECV(base.IntegrationTestCase): def tearDown(self): """Turn device Off in teardown to prevent blocking tests""" - d = TestDeviceProxy("LTS/RECV/1") + d = TestDeviceProxy("STAT/RECV/1") try: d.Off() @@ -31,14 +31,14 @@ class TestDeviceRECV(base.IntegrationTestCase): def test_device_proxy_recv(self): """Test if we can successfully create a DeviceProxy and fetch state""" - d = TestDeviceProxy("LTS/RECV/1") + d = TestDeviceProxy("STAT/RECV/1") self.assertEqual(DevState.OFF, d.state()) def test_device_recv_initialize(self): """Test if we can transition to standby""" - d = TestDeviceProxy("LTS/RECV/1") + d = TestDeviceProxy("STAT/RECV/1") d.Initialise() @@ -47,7 +47,7 @@ class TestDeviceRECV(base.IntegrationTestCase): def test_device_recv_on(self): """Test if we can transition to on""" - d = TestDeviceProxy("LTS/RECV/1") + d = TestDeviceProxy("STAT/RECV/1") d.Initialise() diff --git a/tangostationcontrol/tangostationcontrol/integration_test/devices/test_device_sdp.py b/tangostationcontrol/tangostationcontrol/integration_test/devices/test_device_sdp.py index faf965eb00c8c57785712b6bb581d9118c4632ba..f12fc0ae4f9094c6c82a2dd9076f49cea7fd7ef1 100644 --- a/tangostationcontrol/tangostationcontrol/integration_test/devices/test_device_sdp.py +++ b/tangostationcontrol/tangostationcontrol/integration_test/devices/test_device_sdp.py @@ -22,7 +22,7 @@ class TestDeviceSDP(base.IntegrationTestCase): def tearDown(self): """Turn device Off in teardown to prevent blocking tests""" - d = TestDeviceProxy("LTS/SDP/1") + d = TestDeviceProxy("STAT/SDP/1") try: d.Off() @@ -33,21 +33,21 @@ class TestDeviceSDP(base.IntegrationTestCase): def test_device_proxy_sdp(self): """Test if we can successfully create a DeviceProxy and fetch state""" - d = TestDeviceProxy("LTS/SDP/1") + d = TestDeviceProxy("STAT/SDP/1") self.assertEqual(DevState.OFF, d.state()) def test_device_sdp_ping(self): """Test if we can successfully ping the device server""" - d = TestDeviceProxy("LTS/SDP/1") + d = TestDeviceProxy("STAT/SDP/1") self.assertGreater(d.ping(), 0) def test_device_sdp_initialize(self): """Test if we can transition to standby""" - d = TestDeviceProxy("LTS/SDP/1") + d = TestDeviceProxy("STAT/SDP/1") d.Initialise() @@ -56,7 +56,7 @@ class TestDeviceSDP(base.IntegrationTestCase): def test_device_sdp_on(self): """Test if we can transition to on""" - d = TestDeviceProxy("LTS/SDP/1") + d = TestDeviceProxy("STAT/SDP/1") d.Initialise() @@ -67,7 +67,7 @@ class TestDeviceSDP(base.IntegrationTestCase): def test_device_sdp_read_attribute(self): """Test if we can read an attribute obtained over OPC-UA""" - d = TestDeviceProxy("LTS/SDP/1") + d = TestDeviceProxy("STAT/SDP/1") d.initialise() diff --git a/tangostationcontrol/tangostationcontrol/integration_test/devices/test_device_sst.py b/tangostationcontrol/tangostationcontrol/integration_test/devices/test_device_sst.py index 194313fd6708d01ab70bda04563ce038bb55086c..210dc93defc98c51f9fb9a2b0497a52e5547e5a7 100644 --- a/tangostationcontrol/tangostationcontrol/integration_test/devices/test_device_sst.py +++ b/tangostationcontrol/tangostationcontrol/integration_test/devices/test_device_sst.py @@ -24,7 +24,7 @@ class TestDeviceSST(base.IntegrationTestCase): def tearDown(self): """Turn device Off in teardown to prevent blocking tests""" - d = TestDeviceProxy("LTS/SST/1") + d = TestDeviceProxy("STAT/SST/1") try: d.Off() @@ -35,14 +35,14 @@ class TestDeviceSST(base.IntegrationTestCase): def test_device_proxy_sst(self): """Test if we can successfully create a DeviceProxy and fetch state""" - d = TestDeviceProxy("LTS/SST/1") + d = TestDeviceProxy("STAT/SST/1") self.assertEqual(DevState.OFF, d.state()) def test_device_sst_initialize(self): """Test if we can transition to standby""" - d = TestDeviceProxy("LTS/SST/1") + d = TestDeviceProxy("STAT/SST/1") d.initialise() @@ -53,7 +53,7 @@ class TestDeviceSST(base.IntegrationTestCase): port_property = {"Statistics_Client_TCP_Port": "4999"} - d = TestDeviceProxy("LTS/SST/1") + d = TestDeviceProxy("STAT/SST/1") self.assertEqual(DevState.OFF, d.state(), "Prerequisite could not be met " @@ -72,7 +72,7 @@ class TestDeviceSST(base.IntegrationTestCase): def test_device_sst_send_udp(self): port_property = {"Statistics_Client_TCP_Port": "4998"} - d = TestDeviceProxy("LTS/SST/1") + d = TestDeviceProxy("STAT/SST/1") self.assertEqual(DevState.OFF, d.state(), "Prerequisite could not be met " @@ -101,7 +101,7 @@ class TestDeviceSST(base.IntegrationTestCase): m_data = "Hello World!".encode("UTF-8") - d = TestDeviceProxy("LTS/SST/1") + d = TestDeviceProxy("STAT/SST/1") self.assertEqual(DevState.OFF, d.state(), "Prerequisite could not be met " diff --git a/tangostationcontrol/tangostationcontrol/integration_test/devices/test_device_unb2.py b/tangostationcontrol/tangostationcontrol/integration_test/devices/test_device_unb2.py index c699e225c05861f61786f332a70ccb3191f2dc5f..4a0382f2aea7c370562ff4d23e37c85c7963a436 100644 --- a/tangostationcontrol/tangostationcontrol/integration_test/devices/test_device_unb2.py +++ b/tangostationcontrol/tangostationcontrol/integration_test/devices/test_device_unb2.py @@ -21,7 +21,7 @@ class TestDeviceUNB2(base.IntegrationTestCase): def tearDown(self): """Turn device Off in teardown to prevent blocking tests""" - d = TestDeviceProxy("LTS/UNB2/1") + d = TestDeviceProxy("STAT/UNB2/1") try: d.Off() @@ -32,14 +32,14 @@ class TestDeviceUNB2(base.IntegrationTestCase): def test_device_proxy_unb2(self): """Test if we can successfully create a DeviceProxy and fetch state""" - d = TestDeviceProxy("LTS/UNB2/1") + d = TestDeviceProxy("STAT/UNB2/1") self.assertEqual(DevState.OFF, d.state()) def test_device_unb2_initialize(self): """Test if we can transition to standby""" - d = TestDeviceProxy("LTS/UNB2/1") + d = TestDeviceProxy("STAT/UNB2/1") d.initialise() @@ -48,7 +48,7 @@ class TestDeviceUNB2(base.IntegrationTestCase): def test_device_unb2_on(self): """Test if we can transition to on""" - d = TestDeviceProxy("LTS/UNB2/1") + d = TestDeviceProxy("STAT/UNB2/1") d.initialise() diff --git a/tangostationcontrol/tangostationcontrol/toolkit/archiver.py b/tangostationcontrol/tangostationcontrol/toolkit/archiver.py index f4a0974f82a18b213746264be133911893ab54ee..f462725a6bfbe33fe5118bbdb6c4e2ba9bc576e2 100644 --- a/tangostationcontrol/tangostationcontrol/toolkit/archiver.py +++ b/tangostationcontrol/tangostationcontrol/toolkit/archiver.py @@ -337,7 +337,7 @@ class AttributeFormatException(Exception): """ Exception that handles wrong attribute naming """ - def __init__(self, message="Wrong Tango attribute format! Try: domain/family/member/attribute (e.g. LTS/RECV/1/temperature)"): + def __init__(self, message="Wrong Tango attribute format! Try: domain/family/member/attribute (e.g. STAT/RECV/1/temperature)"): self.message = message super().__init__(self.message) @@ -407,7 +407,7 @@ class Retriever(): try: [domain, family, member] = device_fqname.split('/') except: - raise AttributeFormatException(f"Could not parse device name {device_fqname}. Please provide FQDN, e.g. LTS/Device/1") + raise AttributeFormatException(f"Could not parse device name {device_fqname}. Please provide FQDN, e.g. STAT/Device/1") attrs = self.session.query(Attribute).filter(and_(Attribute.domain == domain, Attribute.family == family, \ Attribute.member == member)).all() # Returns the representation as set in __repr__ method of the mapper class @@ -420,7 +420,7 @@ class Retriever(): try: [domain, family, member, name] = attribute_fqname.split('/') except: - raise AttributeFormatException(f"Could not parse attribute name {attribute_fqname}. Please provide FQDN, e.g. LTS/Device/1/Attribute") + raise AttributeFormatException(f"Could not parse attribute name {attribute_fqname}. Please provide FQDN, e.g. STAT/Device/1/Attribute") try: result = self.session.query(Attribute.att_conf_id).filter(and_(Attribute.domain == domain, Attribute.family == family, \ Attribute.member == member, Attribute.name == name)).one() @@ -439,7 +439,7 @@ class Retriever(): try: [domain, family, member, name] = attribute_fqname.split('/') except: - raise AttributeFormatException(f"Could not parse attribute name {attribute_fqname}. Please provide FQDN, e.g. LTS/Device/1/Attribute") + raise AttributeFormatException(f"Could not parse attribute name {attribute_fqname}. Please provide FQDN, e.g. STAT/Device/1/Attribute") try: result = self.session.query(DataType.data_type).join(Attribute,Attribute.att_conf_data_type_id==DataType.att_conf_data_type_id).\ filter(and_(Attribute.domain == domain, Attribute.family == family, Attribute.member == member, Attribute.name == name)).one() diff --git a/tangostationcontrol/tangostationcontrol/toolkit/archiver_config/lofar2.json b/tangostationcontrol/tangostationcontrol/toolkit/archiver_config/lofar2.json index f0b189701f2e7c0d3573931acbf052c14fd2acf6..f46dae36f4630fa151cf49ce50a4f9b34694be66 100644 --- a/tangostationcontrol/tangostationcontrol/toolkit/archiver_config/lofar2.json +++ b/tangostationcontrol/tangostationcontrol/toolkit/archiver_config/lofar2.json @@ -4,27 +4,27 @@ "development_archive_time": "60000" }, "devices":{ - "LTS/RECV/1": { + "STAT/RECV/1": { "environment": "development", "include": ["rcu_temperature_r"], "exclude": ["CLK_Enable_PWR_R","CLK_I2C_STATUS_R","CLK_PLL_error_R","CLK_PLL_locked_R","CLK_translator_busy_R"] }, - "LTS/SDP/1": { + "STAT/SDP/1": { "environment": "development", "include": [], "exclude": [] }, - "LTS/SST/1": { + "STAT/SST/1": { "environment": "development", "include": [], "exclude": [] }, - "LTS/XST/1": { + "STAT/XST/1": { "environment": "development", "include": [], "exclude": [] }, - "LTS/UNB2/1": { + "STAT/UNB2/1": { "environment": "development", "include": [], "exclude": []