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: Question about text update widget is not updating text problem for phoebus |
From: | neu lzf via Tech-talk <tech-talk at aps.anl.gov> |
To: | "Kasemir, Kay" <kasemirk at ornl.gov>, "tech-talk at aps.anl.gov" <Tech-talk at aps.anl.gov> |
Date: | Mon, 11 Sep 2023 23:27:35 +0000 |
Hi kay,
Thanks for your reply.
I have two questions to consult you:
I didn't see any warning or error messages by display builder if the displays misused Text Update widgets as labels by leaving the pv_name empty. How to turn on the function for phoebus.
I intend to display "ok" or pv1 value according to different pv0 value conditions in text update widget, for example:
if pv0 is zero then text update widget displays the pv1 value.
if pv0 is not zero then text update widget displays "ok".
Is it possible to write scripts by using text update widget for phoebus and could you please help me how to do this for phoebus or for ioc side.
Thank you very much again.
From: Kasemir, Kay <kasemirk at ornl.gov>
Sent: 11 September 2023 12:44 To: neu lzf <lzfneu at live.com>; tech-talk at aps.anl.gov <Tech-talk at aps.anl.gov> Subject: Re: Question about text update widget is not updating text problem for phoebus See https://github.com/ControlSystemStudio/phoebus/wiki/Display-Builder-Compatibility#text-update: “Some BOY displays misused Text Update widgets as labels by leaving the pv_name empty and instead directly configuring the text.”
If you want to display the value of a PV, use a text update widget and configure it’s PV name. If you have a number but want to display that as a label, add suitable mbbi records to the IOC to convert the states into lables, and then you’re back to simply displaying that PV in a text update widget.
|