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  <20212022  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  2020  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Python Script call from Button press, module not found
From: Michael Davidsaver via Tech-talk <tech-talk at aps.anl.gov>
To: "Manoussakis, Adamandios" <manoussakis1 at llnl.gov>
Cc: EPICS tech-talk <tech-talk at aps.anl.gov>
Date: Thu, 15 Apr 2021 09:42:08 -0700
On 4/15/21 9:26 AM, Manoussakis, Adamandios via Tech-talk wrote:
> I was looking mostly into the epics.camonitor or the auto_monitor parameter (seems like camonitor just when you create the pv you can set this?) in pyepics.  The python script is just a small file generator that does some basic calculations.  I was trying to have CSS just call it to run to avoid having another application to deal with.  Either by pressing a button (execute command works fine but cannot get the execute to trigger based off a rule that I know of) or by a pv changing value and css calling the script (jython doesn’t work with numpy/pandas).

Remember that with cs-studio, as with any CA client, there may be multiple instances running
on the same, or different computers.

Also, you might consider separating the online calculation from the data logging.
Putting the result of your calculation into another PV would give you the option
of seeing the live result.

References:
Python Script call from Button press, module not found Manoussakis, Adamandios via Tech-talk
Re: Python Script call from Button press, module not found Kasemir, Kay via Tech-talk
RE: Python Script call from Button press, module not found Manoussakis, Adamandios via Tech-talk
Re: Python Script call from Button press, module not found Matt Newville via Tech-talk
Re: Python Script call from Button press, module not found Johnson, Andrew N. via Tech-talk
RE: Python Script call from Button press, module not found Manoussakis, Adamandios via Tech-talk

Navigate by Date:
Prev: RE: Python Script call from Button press, module not found Manoussakis, Adamandios via Tech-talk
Next: Re: [EXTERNAL] Python Script call from Button press, module not found Hartman, Steven 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  <20212022  2023  2024 
Navigate by Thread:
Prev: RE: Python Script call from Button press, module not found Manoussakis, Adamandios via Tech-talk
Next: Re: Python Script call from Button press, module not found 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  2020  <20212022  2023  2024 
ANJ, 15 Apr 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·