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

Subject: RE: Phoebus CSS and Embedded Python Libraries
From: "Manoussakis, Adamandios via Tech-talk" <tech-talk at aps.anl.gov>
To: "Kasemir, Kay" <kasemirk at ornl.gov>, EPICS tech-talk <tech-talk at aps.anl.gov>
Date: Thu, 4 Apr 2024 17:19:44 +0000

Thanks Kay, I was looking at the wrong documentation (https://control-system-studio.readthedocs.io/en/latest/app/display/editor/doc/scripts.html). 

 

Adam Manoussakis, PMP

Senior Electrical Engineer

National Security Engineering Division - NSED (www-eng.llnl.gov)
Lawrence Livermore National Lab (www.llnl.gov)
7000 East Ave

Livermore, California 94550

Cell: 925-341-8564

 

From: Kasemir, Kay <kasemirk at ornl.gov>
Sent: Thursday, April 4, 2024 10:17 AM
To: Manoussakis, Adamandios <manoussakis1 at llnl.gov>; EPICS tech-talk <tech-talk at aps.anl.gov>
Subject: Re: Phoebus CSS and Embedded Python Libraries

 

See online help or https://control-system-studio.readthedocs.io/en/latest/preference_properties.html for details on the path used for Jython scripts used by the display runtime:

 

display.builder.runtime

File ../../app/display/runtime/src/main/resources/display_runtime_preferences.properties:

# --------------------------------------------

# Package org.csstudio.display.builder.runtime

# --------------------------------------------

 

# Search path for Jython scripts used by the display runtime.

# Note that format depends on the OS.

# On UNIX systems, path entries are separated by ':', on Windows by ';'.

# python_path=/home/controls/displays/scripts:/home/fred/my_scripts

python_path=

 

 

 

From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Manoussakis, Adamandios via Tech-talk <tech-talk at aps.anl.gov>
Date: Thursday, April 4, 2024 at 1:02
PM
To: EPICS tech-talk <tech-talk at aps.anl.gov>
Subject: [EXTERNAL] Phoebus CSS and Embedded Python Libraries

Hi All,

 

I have a small script that I need to run using the Phoebus Embedded Python but having an issue with Phoebus seeing the libraries I have in my python install.  I have been able to run a script as long as it just uses the standard libraries from python, is there a path variable for Phoebus I need to set to point to the libraries?  I have looked through the Preference settings for Phoebus but havnt found anything where I can set something like that for Python.  Is it looking for $PYTHONPATH or something else ?

 

Thanks

Adam


References:
Phoebus CSS and Embedded Python Libraries Manoussakis, Adamandios via Tech-talk
Re: Phoebus CSS and Embedded Python Libraries Kasemir, Kay via Tech-talk

Navigate by Date:
Prev: Re: Phoebus CSS and Embedded Python Libraries Kasemir, Kay via Tech-talk
Next: caPutLog breaks monitoring of PV when the same channel is used for putting Érico Nogueira Rolim 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
Navigate by Thread:
Prev: Re: Phoebus CSS and Embedded Python Libraries Kasemir, Kay via Tech-talk
Next: caPutLog breaks monitoring of PV when the same channel is used for putting Érico Nogueira Rolim 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
ANJ, 04 Apr 2024 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·