forked from archiver_config/sf_databuffer
Update camera name
This commit is contained in:
@@ -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):
|
||||
"""
|
||||
|
||||
@@ -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"]}
|
||||
|
||||
Reference in New Issue
Block a user