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: How to update combo box items with subset of PV items
From: Alessandra Palazzo via Tech-talk <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Fri, 6 Jun 2025 06:43:32 +0000

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.

 

Best regards,

 

Alessandra Palazzo

Control System Engineer

 

Present: Mon - Tue - Wed - Thu - Fri

-----------------------------------------------------------------------------

High Voltage Engineering Europa B.V.

Amsterdamseweg 63, 3812 RR Amersfoort

P.O. Box 99, 3800 AB Amersfoort, The Netherlands

Tel        +31334619741

Fax       +31334615291

E-mail   apalazzo at highvolteng.com

Web     www.highvolteng.com

----------------------------------------------------------------------------

 


Replies:
Re: How to update combo box items with subset of PV items Michael Davidsaver via Tech-talk

Navigate by Date:
Prev: PVXS programmatically create pvalinks Dave Bracey via Tech-talk
Next: RE: Beckhoff ADS to EPICS IOC GAGET Alexis 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: Re: PVXS programmatically create pvalinks Michael Davidsaver via Tech-talk
Next: Re: How to update combo box items with subset of PV items Michael Davidsaver 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 ·