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

Subject: Re: OPI script and Display Builder
From: "Kasemir, Kay" <kasemirk@ornl.gov>
To: "Gregory, Ray" <gregoryrd@ornl.gov>, "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
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 
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 
ANJ, 08 May 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·