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: about css
From: Michael Davidsaver via Tech-talk <tech-talk at aps.anl.gov>
To: Mayou Hasegawa <hasegawamayou at gmail.com>
Cc: tech-talk at aps.anl.gov
Date: Sat, 8 Feb 2025 19:08:15 -0800
On 2/4/25 00:06, Mayou Hasegawa via Tech-talk wrote:
Hello, I have a question regarding CSS. I would like to check alternately 2 different PVs on one screen.
Simple example:
If I choose the pv PM1 in the combo box, it press the LEDs and buttons related to PM1, and if i choose PM2, it press the LEDs and buttons related to PM2. Can I use it on one screen without creating a new OPI window or tab? I put a macro in the PM$(N) number.
Please give me some advice on how to do it, RULE, ACTION, SCRIPT.

I attatched my opi file also.

If I understand correctly, then one common way to accomplish this is to
use an Action Button to open the same opi/bob file again with some
macro values replaced.  Here is an example with two rows of buttons
to select ADC channels.  One row redefines the $(P) macro:

https ://github.com/osprey-dcs/atf-acq-ioc/blob/1e2c244e3cfa9313a5908dce7d981dd41537ad6a/opi/scope.bob#L940-L958


References:
about css Mayou Hasegawa via Tech-talk

Navigate by Date:
Prev: RE: MRF kernel modules not seeing hardware Daykin, Evan via Tech-talk
Next: Re: Forking EPICS processes 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
Navigate by Thread:
Prev: Re: about css Eusebio Naif Al-Soliman Fuentes via Tech-talk
Next: Forking EPICS processes Grzegorz Kowalski 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, 08 Feb 2025 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions ·
· Download · Search · IRMIS · Talk · Documents · Links · Licensing ·