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: Documentation to program CSS Phoebus scripts using JS and Python
From: "Johnson, Andrew N. via Tech-talk" <tech-talk at aps.anl.gov>
To: Oscar Ibañez <oscar.ibanez.spain.1980 at gmail.com>
Cc: EPICS tech-talk <tech-talk at aps.anl.gov>
Date: Tue, 6 Apr 2021 02:06:00 +0000
Hi Óscar,

On Apr 3, 2021, at 7:18 AM, Oscar Ibañez via Tech-talk <tech-talk at aps.anl.gov> wrote:
> 
> My name is Óscar, from Spain, and this is my first message to Tech-talk.

Welcome to the EPICS community!


> I am writing because I have an initiation doubt about EPICS and, more specifically, about Control System Studio Phoebus. In particular, I can't find documentation about how to program scripts using Python and Javascript. The different classes that are available, their special objets ("display", "widgets" and so on) and their methods/attributes are unknown for me. Inside Phoebus there are some examples, but they are not a formal documentation. Just a glance about some programming possibilities. On the Internet, in the wild, I have found some pieces of information, but some of them not even work when I try to use them.

This kind of question gets asked reasonably often, but in the experience of the longer-term members of this community running scripts in the GUI tool is often not the best approach to programming a control system. Now if the project you’re working on is not intended to last for a long time that might not matter, but for a control system that will have to be maintained for many years we don’t recommend it, hence the lack of detailed documentation.

I would like to suggest that you read the recent tech-talk reply to Adam at https://epics.anl.gov/tech-talk/2021/msg00549.php and think about some of the questions Kay asked applied to your problem, and also read the subsequent replies in the same thread.

- Andrew

-- 
Complexity comes for free, simplicity you have to work for.


References:
Documentation to program CSS Phoebus scripts using JS and Python Oscar Ibañez via Tech-talk

Navigate by Date:
Prev: Thermo Radiation Detectors FHT 6020 Ernesto Paiser via Tech-talk
Next: compiling EPICS R7 base on macOS Big Sur as fat binaries for x86_64 and arm64. Noboru Yamamoto 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: Documentation to program CSS Phoebus scripts using JS and Python Manoussakis, Adamandios via Tech-talk
Next: Interrupts in Linux Siddons, David 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, 05 Apr 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·