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  <20182019  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  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: OPI script and Display Builder
From: "Kasemir, Kay" <[email protected]>
To: "Gregory, Ray" <[email protected]>, "[email protected]" <[email protected]>
Date: Tue, 8 May 2018 13:04:20 +0000

Hi:


>Suppose I have an OPI script with the following line:

 from org.csstudio.display.builder.runtime.script import PVUtil, ScriptUtil

Does this mean that the script will not run in an environment that has not yet been upgraded from opibuilder to display builder?

Correct.

While displays in general (widgets and their properties) as well as Rules tend to be auto-converted,

scripts are generally not portable, they need to be rewritten.

In the display builder examples, examples/script_util/portable.py shows an example for a script that works in both environments by basically including the code for both environments.


-Kay


Replies:
RE: OPI script and Display Builder Gregory, Ray
References:
OPI script and Display Builder Gregory, Ray

Navigate by Date:
Prev: RE: error calling PVUtil.getString() Gregory, Ray
Next: RE: OPI script and Display Builder Gregory, Ray
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  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: OPI script and Display Builder Gregory, Ray
Next: RE: OPI script and Display Builder Gregory, Ray
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  <20182019  2020  2021  2022  2023  2024