EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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: How to update combo box items with subset of PV items
From: Michael Davidsaver via Tech-talk <tech-talk at aps.anl.gov>
To: Alessandra Palazzo <apalazzo at highvolteng.com>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Mon, 9 Jun 2025 20:04:44 -0700
On 6/5/25 23:43, Alessandra Palazzo via Tech-talk wrote:

Hi all,

 

I have a question about combo boxes in Phoebus.

I am using a combo box connected to an enum PV and I would like to always update its items with a subset of the original items based on a mask (show/don't show) stored in another enum PV.

What is the best way to do this?

I am trying to use the setItems method for setting the combo box items but I'm struggling with getting the single items from the enum PVs.


You might also update the enumeration meta-data on the IOC side.

As long as the appropriate phoebus property is set to "true" (not the default):

org.phoebus.pv.ca/dbe_property_supported=true

Then changes to the enumeration string fields of mbbiRecord (eg. ZRST) will be reflected.



References:
How to update combo box items with subset of PV items Alessandra Palazzo via Tech-talk

Navigate by Date:
Prev: Re: PVXS programmatically create pvalinks Michael Davidsaver via Tech-talk
Next: Re: PVXS programmatically create pvalinks Dave Bracey via Tech-talk
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
Navigate by Thread:
Prev: How to update combo box items with subset of PV items Alessandra Palazzo via Tech-talk
Next: Warning messages in the Archiver Appliance logs LONG FENG via Tech-talk
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
ANJ, 10 Jun 2025 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions ·
· Download · Search · IRMIS · Talk · Documents · Links · Licensing ·