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> 2025 | 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> 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: CSS-Phoebus: Dynamically changing the contents of embedded databrowser |
From: | "Kasemir, Kay via Tech-talk" <tech-talk at aps.anl.gov> |
To: | Malte Daniel Gotz <malte.gotz at helmholtz-berlin.de>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Wed, 26 Jun 2024 15:26:30 +0000 |
> I can load a different plt-file, by changing that property, but that requires previously created plt-files for all combinations of PVs
to be displayed. I would like some other way to manipulate the PVs displayed in an embedded databrowser window at runtime. Does that exist? Look at Examples, Plots, Stripchart. The stripchart is like a databrowser widget but instead of a *.plt file you provide PV names. Put that into an embedded widget, and check the example
https://github.com/ControlSystemStudio/phoebus/blob/master/app/display/model/src/main/resources/examples/embedded/update_display.py
for a way to update what’s shown inside an embedded widget. That way, your checkboxes etc. can trigger a script to update the embedded widget, inside which you can have whatever, including a strip chart for the desired PVs. |