EPICS Home

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: "Kasemir, Kay via Tech-talk" <tech-talk at aps.anl.gov>
To: "Manoussakis, Adamandios" <manoussakis1 at llnl.gov>, EPICS tech-talk <tech-talk at aps.anl.gov>
Date: Thu, 4 Apr 2024 17:16:50 +0000

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


Replies:
RE: Phoebus CSS and Embedded Python Libraries Manoussakis, Adamandios via Tech-talk
References:
Phoebus CSS and Embedded Python Libraries Manoussakis, Adamandios via Tech-talk

Navigate by Date:
Prev: Phoebus CSS and Embedded Python Libraries Manoussakis, Adamandios via Tech-talk
Next: RE: Phoebus CSS and Embedded Python Libraries Manoussakis, Adamandios 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: Phoebus CSS and Embedded Python Libraries Manoussakis, Adamandios via Tech-talk
Next: RE: Phoebus CSS and Embedded Python Libraries Manoussakis, Adamandios 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