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  <20202021  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  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: [EXTERNAL] Assign actions to Combobox items in Phoebus
From: "Kasemir, Kay via Tech-talk" <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>, Peter Leban <peter.leban at i-tech.si>
Date: Tue, 21 Jul 2020 12:19:07 +0000
> I have a Combobox with items: "Ch1", "Ch2", "Ch3, "Ch4". I'd like to 
> assign an action that will open another CSS panel with a macro, specific
> to each item, e.g. CH="Ch1" for item1, CH="Ch2" for item2, etc.


It describes how to use a text field to enter some PV name or part of a PV name, which is then used to set the macro for an embedded display.
Similarly, you could use a combo to set a text, then use that text to construct macro values for an embedded display.
Instead of setting the macro values on an embedded display, you could use ScriptUtil.openDisplay to, well, open a display.

-Kay

References:
Assign actions to Combobox items in Phoebus Peter Leban via Tech-talk

Navigate by Date:
Prev: RE: RE: SteamDevice 2.8.x build on Windows issue Freddie Akeroyd - UKRI STFC via Tech-talk
Next: RE: RE: SteamDevice 2.8.x build on Windows issue Mark Rivers 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  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Assign actions to Combobox items in Phoebus Peter Leban via Tech-talk
Next: Network interruptions possible this week Johnson, Andrew N. 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  <20202021  2022  2023  2024 
ANJ, 21 Jul 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·