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  <20232024  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  <20232024 
<== Date ==> <== Thread ==>

Subject: Scripts in Phoebus
From: Florian Feldbauer via Tech-talk <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Wed, 9 Aug 2023 16:33:40 +0200
Hey all,

I have a small question regarding scripts in Phoebus.

For our detector we use an Image widget to display the hit map of our Pixel sensor(s).

Sometimes it happens that some Pixel of our detector are very noisy and we want to mask them. As an easy way of generating the pixel mask configuration, we thought about using local PVs for the cursor feature of the image widget and an action button which executes a (python) script that takes the X and Y coordinates of the cursor and adds this pixel to our mask config.

Unfortunately we are unable to get this to work, as it seems we can only add 1 PV to the script executed by an Action Button. Is there any way to use more then 1 PV with scripts that should be executed via an Action Button?


Also in another setup we have a small script that checks some configuration. When this script is executed a stack trace is visible in the console showing the error "python not found".
Other scripts work fine. Any idea what could be the cause of such an error?


Thanks for the help in advance.
Cheers,
Florian

--
Ruhr-Universität Bochum
AG der Experimentalphysik I
Dr. Florian Feldbauer
NB 2/131 / Fach 125
Universitätsstr. 150
D-44801 Bochum

Office: NB 2/134
Phone:  (+49)234 / 32-23563
Fax:    (+49)234 / 32-14170
https://paluma.ruhr-uni-bochum.de


Replies:
Re: [EXTERNAL] Scripts in Phoebus Kasemir, Kay via Tech-talk

Navigate by Date:
Prev: Re: MRF EvtClk object not found Michael Davidsaver via Tech-talk
Next: Re: [EXTERNAL] Scripts in Phoebus Kasemir, Kay 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  <20232024 
Navigate by Thread:
Prev: RE: MRF EvtClk object not found Daykin, Evan via Tech-talk
Next: Re: [EXTERNAL] Scripts in Phoebus Kasemir, Kay 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  <20232024 
ANJ, 10 Aug 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·