Update camera name

This commit is contained in:
Gobbo Alexandre
2022-02-08 16:50:01 +01:00
parent c865639b86
commit 8e65b26484
2 changed files with 5 additions and 3 deletions

View File

@@ -69,12 +69,14 @@ def _remove_comments(text):
def _load_file(file_path):
try:
with open(file_path) as file_h:
text = file_h.read()
text = _remove_comments(text)
config = json.loads(text)
return config
except:
print (file_path)
def remove_labels(sources):
"""

View File

@@ -2,7 +2,7 @@
Get the bsread stream address from an image name (e.g. for SARES20-PROF142-M3:FPICTURE)
caget SARES20-PROF142-M3:BSREADCONFIG
the current camserver/pipline configuration can be found here: https://git.psi.ch/controls_highlevel_applications/cam_server_configuration/blob/master/configuration/pipeline_config/servers.json
the current camserver/pipline configuration can be found here: https://git.psi.ch/
*/
{
@@ -20,7 +20,7 @@
,{"stream": "tcp://sf-daqsync-04.psi.ch:9011", "labels": ["SATES24-CAMS161-M1"]}
/* SATES21-PATT-M1 */
,{"stream": "tcp://sf-daqsync-04.psi.ch:9003", "labels": ["SATES21-PATT-M1"]}
,{"stream": "tcp://sf-daqsync-04.psi.ch:9003", "labels": ["SATES21-CAMS-PATT1"]}
/* PSEN SARES11-SPEC125-M1 */
,{"stream": "tcp://sf-daqsync-05:9001", "labels": ["SARES11-SPEC125-M1"]}