removed CAMS142-M1 as it now comes from camserver

This commit is contained in:
2021-03-17 10:49:36 +01:00
parent e62c7ed9a4
commit 1aa631901b
4 changed files with 29 additions and 21 deletions

View File

@@ -2,7 +2,7 @@
"cells": [ "cells": [
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 1, "execution_count": 2,
"metadata": { "metadata": {
"hide_input": false "hide_input": false
}, },
@@ -985,22 +985,11 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 11, "execution_count": 6,
"metadata": { "metadata": {
"scrolled": true "scrolled": true
}, },
"outputs": [ "outputs": [],
{
"data": {
"text/plain": [
"<Response [200]>"
]
},
"execution_count": 11,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [ "source": [
"# Rebuild cache of data-api\n", "# Rebuild cache of data-api\n",
"response = requests.post(\"https://data-api.psi.ch/sf/channels/config\", json={\"reload\": \"true\"})" "response = requests.post(\"https://data-api.psi.ch/sf/channels/config\", json={\"reload\": \"true\"})"
@@ -1008,7 +997,16 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 15, "execution_count": 7,
"metadata": {},
"outputs": [],
"source": [
"channels = response.json()"
]
},
{
"cell_type": "code",
"execution_count": 8,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@@ -11403,7 +11401,7 @@
" {'source': 'tcp://daqsf-sioc-cs-61.psi.ch:9010',\n", " {'source': 'tcp://daqsf-sioc-cs-61.psi.ch:9010',\n",
" 'backend': 'sf-imagebuffer',\n", " 'backend': 'sf-imagebuffer',\n",
" 'type': 'uint16',\n", " 'type': 'uint16',\n",
" 'shape': [1280, 1024],\n", " 'shape': [2560, 2160],\n",
" 'name': 'SARBD01-DSCR050:FPICTURE'},\n", " 'name': 'SARBD01-DSCR050:FPICTURE'},\n",
" {'source': 'tcp://daqsf-sioc-cs-62.psi.ch:9010',\n", " {'source': 'tcp://daqsf-sioc-cs-62.psi.ch:9010',\n",
" 'backend': 'sf-imagebuffer',\n", " 'backend': 'sf-imagebuffer',\n",
@@ -11443,7 +11441,7 @@
" {'source': 'tcp://daqsf-sioc-cs-81.psi.ch:9010',\n", " {'source': 'tcp://daqsf-sioc-cs-81.psi.ch:9010',\n",
" 'backend': 'sf-imagebuffer',\n", " 'backend': 'sf-imagebuffer',\n",
" 'type': 'uint16',\n", " 'type': 'uint16',\n",
" 'shape': [1280, 1024],\n", " 'shape': [659, 494],\n",
" 'name': 'SARES11-XPR125-C4P2:FPICTURE'},\n", " 'name': 'SARES11-XPR125-C4P2:FPICTURE'},\n",
" {'source': 'tcp://daqsf-daqsync-05.psi.ch:9002',\n", " {'source': 'tcp://daqsf-daqsync-05.psi.ch:9002',\n",
" 'backend': 'sf-imagebuffer',\n", " 'backend': 'sf-imagebuffer',\n",
@@ -11902,13 +11900,13 @@
" 'name': 'SLG-LCAM-C104:FPICTURE'}]}]" " 'name': 'SLG-LCAM-C104:FPICTURE'}]}]"
] ]
}, },
"execution_count": 15, "execution_count": 8,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
], ],
"source": [ "source": [
"response.json()" "channels"
] ]
}, },
{ {

View File

@@ -38,7 +38,7 @@ More details on the gitutils command can be found at: https://gitutils.readthedo
# Administration # Administration
If there are new changes to this configuration (either through a merge request or direct commit) the configuration needs to be uploaded to the Data/ImageBuffer. To do so clone or pull the latest changes from this repository and execute the `./upload.sh` script that comes with this repository. If there are new changes to this configuration (either through a merge request or direct commit) the configuration needs to be uploaded to the Data/ImageBuffer. To do so clone or pull the latest changes from this repository and execute the `./bufferutils upload` script that comes with this repository (you have to be on a machine that have /opt/gfa/python available!).
# Configuration Management # Configuration Management

View File

@@ -48,3 +48,13 @@
systemd: systemd:
state: started state: started
name: daq-query-node name: daq-query-node
- name: restart data api
hosts: data_api
become: true
tasks:
- name: start data-api
systemd:
state: restarted
name: data-api

View File

@@ -93,7 +93,7 @@
/* Aramis ESB-Bernina */ /* Aramis ESB-Bernina */
,{"stream":"tcp://daqsf-sioc-cs-83.psi.ch:8060","split":4,"backend":"sf-imagebuffer"} ,{"stream":"tcp://daqsf-sioc-cs-83.psi.ch:8060","split":4,"backend":"sf-imagebuffer"}
,{"stream":"tcp://daqsf-sioc-cs-83.psi.ch:9000","split":4,"backend":"sf-imagebuffer"} /* ,{"stream":"tcp://daqsf-sioc-cs-83.psi.ch:9000","split":4,"backend":"sf-imagebuffer"} */
,{"stream":"tcp://daqsf-sioc-cs-83.psi.ch:9010","split":4,"backend":"sf-imagebuffer"} ,{"stream":"tcp://daqsf-sioc-cs-83.psi.ch:9010","split":4,"backend":"sf-imagebuffer"}
,{"stream":"tcp://daqsf-sioc-cs-83.psi.ch:9020","split":4,"backend":"sf-imagebuffer"} ,{"stream":"tcp://daqsf-sioc-cs-83.psi.ch:9020","split":4,"backend":"sf-imagebuffer"}
/* ,{"stream":"tcp://daqsf-sioc-cs-83.psi.ch:9030","split":4,"backend":"sf-imagebuffer"} */ /* ,{"stream":"tcp://daqsf-sioc-cs-83.psi.ch:9030","split":4,"backend":"sf-imagebuffer"} */