1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 <2022> 2023 2024 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 <2022> 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Pheobus Alarm-System - Handling varying locations for associated displays |
From: | "Gotz, Malte via Tech-talk" <tech-talk at aps.anl.gov> |
To: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Tue, 15 Feb 2022 13:24:46 +0000 |
Hello everybody, I am somewhat stuck trying to find a way to open displays from the alarm context menu in Phoebus on systems where these displays are in different absolute locations. We are moving from EDM/MEDM and Alarmhandler to Phoebus. Where EDM and MEDM have a display search path, Phoebus requires relative or absolute paths. For related displays, we solved this transition by placing all displays
in a single directory tree. Yet, the root of this tree may be at a different point on the file system or sometimes even on a webserver, which is not accessible from everywhere, though. Now, to add a display to an alarm-node in Phoebus and pass macros to it, you must have a URI with an absolute path. Also, there is no macro substitution or variable expansion happening for these resource strings. I can’t
see a way to make this accessible for systems with the displays in different locations. So, how do others handle this? Do you have the displays in the same location on every system that needs to open them?
Instead of the display we could use a command and have a script resolve the path and then open Phoebus with that, but that feels like a crutch. I appreciate any tips. Best regards, Malte -------------- Malte Gotz Accelerator Operation - Control System Group (BE-IA-AOT/ACS) BESSYII and MLS @ Helmholtz-Zentrum Berlin Helmholtz-Zentrum Berlin für Materialien und Energie GmbH Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V. Aufsichtsrat: Vorsitzender Dr. Volkmar Dietz, stv. Vorsitzende Dr. Jutta Koch-Unterseher Geschäftsführung: Prof. Dr. Bernd Rech, Thomas Frederking Sitz Berlin, AG Charlottenburg, 89 HRB 5583 Postadresse: Hahn-Meitner-Platz 1 14109 Berlin Deutschland |